Added correct permalink and made sure back/next links were working properly.
This commit is contained in:
parent
75ced04c8d
commit
db1eb14cb2
3
Rakefile
3
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|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
layout: docs
|
||||
title: History
|
||||
permalink: /docs/history/
|
||||
prev_section: upgrading
|
||||
---
|
||||
|
||||
## HEAD
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
layout: docs
|
||||
title: Upgrading
|
||||
prev_section: resources
|
||||
next_section: history
|
||||
permalink: /docs/upgrading/
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in New Issue