From db1eb14cb28788fe2e61e3f7278a2239896f6d8f Mon Sep 17 00:00:00 2001 From: zachgersh Date: Tue, 28 May 2013 22:34:53 -0700 Subject: [PATCH] Added correct permalink and made sure back/next links were working properly. --- Rakefile | 3 ++- site/docs/history.md | 1 + site/docs/upgrading.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1739c088..7742633e 100644 --- a/Rakefile +++ b/Rakefile @@ -161,7 +161,8 @@ namespace :site do end # Create a hash for the front matter that is to be included front_matter = {"layout" => "docs", "title" => "History", - "permalink" => "/docs/history/"} + "permalink" => "/docs/history/", + "prev_section" => "upgrading"} # Finally we need to copy the file to the /history directory Dir.chdir('site/docs/') do File.open("history.md", "w") do |file| diff --git a/site/docs/history.md b/site/docs/history.md index 6d6e2141..4e9c947d 100644 --- a/site/docs/history.md +++ b/site/docs/history.md @@ -2,6 +2,7 @@ layout: docs title: History permalink: /docs/history/ +prev_section: upgrading --- ## HEAD diff --git a/site/docs/upgrading.md b/site/docs/upgrading.md index 3f4412ff..cb764d39 100644 --- a/site/docs/upgrading.md +++ b/site/docs/upgrading.md @@ -2,6 +2,7 @@ layout: docs title: Upgrading prev_section: resources +next_section: history permalink: /docs/upgrading/ ---