Added correct permalink and made sure back/next links were working properly.

This commit is contained in:
zachgersh 2013-05-28 22:34:53 -07:00
parent 75ced04c8d
commit db1eb14cb2
3 changed files with 4 additions and 1 deletions

View File

@ -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|

View File

@ -2,6 +2,7 @@
layout: docs
title: History
permalink: /docs/history/
prev_section: upgrading
---
## HEAD

View File

@ -2,6 +2,7 @@
layout: docs
title: Upgrading
prev_section: resources
next_section: history
permalink: /docs/upgrading/
---