diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 20:18:45 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 20:18:45 -0500 |
commit | 5449dca686d7bdbd5f09acd4e9fd8647535acde9 (patch) | |
tree | 2e1b459c517974d9f57c0b52924d49e0ba86afca /bin/util.rb | |
parent | 877491a97c2ac140003c6416dbd33630148bb860 (diff) |
index.yaml partial support
Diffstat (limited to 'bin/util.rb')
-rw-r--r-- | bin/util.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/util.rb b/bin/util.rb index 1318f28..05808b7 100644 --- a/bin/util.rb +++ b/bin/util.rb @@ -115,7 +115,6 @@ class Page def author ; @author ||= Person.new( pandoc['author'] || "Andrew Murrell") ; end def license ; @license ||= License.new(pandoc['license'] || "CC BY-SA-3.0") ; end - def slug ; @slug ||= infile.sub(/\..*$/,'').sub(/^.*\//,'') ; end def content ; @content ||= pandoc.to('html5 '+(pandoc['pandoc_flags']||'')) ; end def head ; @head ||= pandoc['html_head_extra'] ; end def class ; @class ||= pandoc['class'] ; end |