mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Site: Fix display of the User Manual
This was accidentally broken when 578edf879
changed the 'body' variable to be global.
This commit is contained in:
+2
-1
@@ -23,7 +23,8 @@ task :generate => [:generate_usermanual] do
|
||||
FileUtils.mkdir("output/images/UserManual")
|
||||
`cp -r UserManual/output/images/* output/images/UserManual`
|
||||
@filename = 'user_manual.html'
|
||||
body = File.read("UserManual/output/UserManual.html")
|
||||
@body = File.read("UserManual/output/UserManual.html")
|
||||
@title = "User Manual"
|
||||
File.open("output/user_manual.html", "w") do |f|
|
||||
f.puts template.result(binding)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user