summaryrefslogtreecommitdiff
path: root/bin/util.rb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 20:18:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 20:18:45 -0500
commit5449dca686d7bdbd5f09acd4e9fd8647535acde9 (patch)
tree2e1b459c517974d9f57c0b52924d49e0ba86afca /bin/util.rb
parent877491a97c2ac140003c6416dbd33630148bb860 (diff)
index.yaml partial support
Diffstat (limited to 'bin/util.rb')
-rw-r--r--bin/util.rb1
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