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
|
end
|
||||||
# Create a hash for the front matter that is to be included
|
# Create a hash for the front matter that is to be included
|
||||||
front_matter = {"layout" => "docs", "title" => "History",
|
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
|
# Finally we need to copy the file to the /history directory
|
||||||
Dir.chdir('site/docs/') do
|
Dir.chdir('site/docs/') do
|
||||||
File.open("history.md", "w") do |file|
|
File.open("history.md", "w") do |file|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
layout: docs
|
layout: docs
|
||||||
title: History
|
title: History
|
||||||
permalink: /docs/history/
|
permalink: /docs/history/
|
||||||
|
prev_section: upgrading
|
||||||
---
|
---
|
||||||
|
|
||||||
## HEAD
|
## HEAD
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
layout: docs
|
layout: docs
|
||||||
title: Upgrading
|
title: Upgrading
|
||||||
prev_section: resources
|
prev_section: resources
|
||||||
|
next_section: history
|
||||||
permalink: /docs/upgrading/
|
permalink: /docs/upgrading/
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue