Skip to content
Snippets Groups Projects
Commit ddd28b86 authored by Thomas Wood's avatar Thomas Wood
Browse files

Use nice permalinks for top level pages

parent f1db90d8
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ group :default, :jekyll_plugins do ...@@ -7,6 +7,7 @@ group :default, :jekyll_plugins do
gem 'jekyll-scholar', '~> 5.9.1' gem 'jekyll-scholar', '~> 5.9.1'
#gem 'jekyll-scholar', :git => '/home/thomas/jekyll-scholar', :branch => 'master' #gem 'jekyll-scholar', :git => '/home/thomas/jekyll-scholar', :branch => 'master'
gem 'jekyll-sitemap' gem 'jekyll-sitemap'
gem 'jekyll-redirect-from'
end end
group :test do group :test do
......
...@@ -48,6 +48,8 @@ GEM ...@@ -48,6 +48,8 @@ GEM
pathutil (~> 0.9) pathutil (~> 0.9)
rouge (~> 1.7) rouge (~> 1.7)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
jekyll-redirect-from (0.12.1)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0) jekyll-sass-converter (1.5.0)
sass (~> 3.4) sass (~> 3.4)
jekyll-scholar (5.9.1) jekyll-scholar (5.9.1)
...@@ -83,7 +85,7 @@ GEM ...@@ -83,7 +85,7 @@ GEM
public_suffix (2.0.5) public_suffix (2.0.5)
rake (12.0.0) rake (12.0.0)
rb-fsevent (0.9.8) rb-fsevent (0.9.8)
rb-inotify (0.9.7) rb-inotify (0.9.8)
ffi (>= 0.5.0) ffi (>= 0.5.0)
rouge (1.11.1) rouge (1.11.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
...@@ -103,6 +105,7 @@ PLATFORMS ...@@ -103,6 +105,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
html-proofer (~> 3.0) html-proofer (~> 3.0)
jekyll jekyll
jekyll-redirect-from
jekyll-scholar (~> 5.9.1) jekyll-scholar (~> 5.9.1)
jekyll-sitemap jekyll-sitemap
pry pry
......
...@@ -3,5 +3,7 @@ title: News ...@@ -3,5 +3,7 @@ title: News
menu: true menu: true
menu_order: 2 menu_order: 2
layout: page layout: page
permalink: /news/
redirect_from: /news.html
--- ---
{% include news-page.html posts=site.posts %} {% include news-page.html posts=site.posts %}
...@@ -2,5 +2,7 @@ ...@@ -2,5 +2,7 @@
title: People title: People
menu: true menu: true
menu_order: 3 menu_order: 3
permalink: /people/
redirect_from: /people.html
--- ---
{% include person-cards.html people=site.people %} {% include person-cards.html people=site.people %}
...@@ -3,5 +3,7 @@ title: Publications ...@@ -3,5 +3,7 @@ title: Publications
menu: true menu: true
layout: toc layout: toc
menu_order: 6 menu_order: 6
permalink: /publications/
redirect_from: /publications.html
--- ---
{% bibliography -g year %} {% bibliography -g year %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment