diff --git a/Site/Rakefile b/Site/Rakefile index 127dc9f..76fc317 100644 --- a/Site/Rakefile +++ b/Site/Rakefile @@ -12,7 +12,7 @@ task :generate => [:generate_usermanual] do source = Dir.glob("text/*.markdown").each do |file| contents = File.read(file) - body = Markdown.new(contents).to_html + @body = Markdown.new(ERB.new(contents).result(binding)).to_html @filename = File.basename(file).gsub(/markdown$/,"html") File.open("output/" + @filename, "w") do |f| f.puts template.result(binding) diff --git a/Site/template.html b/Site/template.html index c104882..c1001b6 100644 --- a/Site/template.html +++ b/Site/template.html @@ -7,7 +7,7 @@ end