summaryrefslogtreecommitdiff
path: root/template.erb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-11-24 04:40:17 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-11-24 04:40:17 -0500
commitc46222fd2c1e02f695b544576f8605676be4d502 (patch)
tree29893a84cbc8d06c138306ddad63eecabda0d50c /template.erb
parentfee8f8267106650d24b5047ee7e0abfa905f5760 (diff)
Switch from rdiscount to Pandoc.
But, I am still using ERB for the templating; I wrote my own Ruby Pandoc bindings because pandoc-ruby sucks; it has more code but does less. This was slightly painful, as I had to switch all of the articles from my hacked-on metadata format to Pandoc's format.
Diffstat (limited to 'template.erb')
-rw-r--r--template.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.erb b/template.erb
index 01ad125..66f9c85 100644
--- a/template.erb
+++ b/template.erb
@@ -13,7 +13,7 @@
<%= @content %>
</article>
<footer>
-<p>The content of this page is Copyright © <%= @copyright %>.</p>
+<p>The content of this page is Copyright © <%= @date.year unless @date.nil? %> <%= @author %>.</p>
<p>This page is licensed under the <%= @license %> license.</p>
</footer>
</body>