Skip to content

Commit 2823f47

Browse files
prefix post(s) with /blog and add redirects
1 parent 2f93a03 commit 2823f47

7 files changed

+10
-9
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source "https://rubygems.org"
22

3-
gem "github-pages"
3+
gem "github-pages", group: :jekyll_plugins
44
# gem "jekyll-archives"
55
gem "wdm", "~> 0.1.0" if Gem.win_platform?

Gemfile.lock

+1-3
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,13 @@ GEM
125125
ethon (>= 0.8.0)
126126
tzinfo (1.2.2)
127127
thread_safe (~> 0.1)
128-
wdm (0.1.1)
129128

130129
PLATFORMS
131130
ruby
132131
x64-mingw32
133132

134133
DEPENDENCIES
135134
github-pages
136-
wdm (~> 0.1.0)
137135

138136
BUNDLED WITH
139-
1.11.2
137+
1.13.0

_config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ title : "UI-Router"
99
title_separator : "-"
1010
name : "UI-Router"
1111
description : "State based routing for single-page web applications"
12-
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
13-
baseurl : # the subpath of your site, e.g. "/blog"
12+
url : # "ASDFASFD"
13+
baseurl : "/"
1414
gh_repo : # Link to both github repositories?
1515
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
1616
# breadcrumbs : false # true, false (default)
@@ -162,6 +162,7 @@ gems:
162162

163163
# mimic GitHub Pages with --safe
164164
whitelist:
165+
- jekyll-redirect-from
165166
- jekyll-paginate
166167
- jekyll-sitemap
167168
- jekyll-gist

_posts/2016-06-25-new-ui-router-site.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
comments: true
44
permalink: /blog/:title/
5-
redirect_from: /:title/
5+
redirect_from: /new-ui-router-site/
66
---
77

88
### New UI-Router site

_posts/2016-08-08-migrate-to-1_0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
excerpt: UI-Router 1.0 offers major advantages over the legacy releases. Learn more in the new migration guide.
44
comments: true
55
permalink: /blog/:title/
6-
redirect_from: /:title/
6+
redirect_from: /migrate-to-1_0/
77
---
88

99
### New Guide: Migrate to UI-Router 1.0

_posts/2016-08-09-route-to-component.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
excerpt: UI-Router 1.0 enables routing to components for Angular 1. Learn how to effectively route to components in Angular 1.
44
comments: true
55
permalink: /blog/:title/
6-
redirect_from: /:title/
6+
redirect_from: /route-to-component/
77
---
88

99
### New Guide: Route to components

_posts/2016-09-09-uirouter-1.0.0-beta.2.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
layout: post
33
excerpt: UI-Router 1.0.0-beta.2 is released
44
comments: true
5+
permalink: /blog/:title/
6+
redirect_from: /uirouter-1.0.0-beta.2/
57
---
68

79
{% include toc icon="columns" title="UI-Router 1.0.0-beta.2" %}

0 commit comments

Comments
 (0)