summaryrefslogtreecommitdiff
path: root/bin/util.rb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-04 17:13:22 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-04 17:13:22 -0500
commit90e593e800e62b1605a8052a54e0ab3371dd3dde (patch)
tree35290948b249e6e756a3fdf6724fc8aa2bb4c6af /bin/util.rb
parent5e257d407b4abf2be61c656dfb1d383396df35b1 (diff)
implement sections
Diffstat (limited to 'bin/util.rb')
-rw-r--r--bin/util.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/util.rb b/bin/util.rb
index b2dcd40..cd7974b 100644
--- a/bin/util.rb
+++ b/bin/util.rb
@@ -236,6 +236,10 @@ class Page
end
@breadcrumbs
end
+
+ def section
+ return nil
+ end
end
def html_escape(html)
@@ -291,4 +295,8 @@ class ExternPage
end
return Date.parse(str)
end
+
+ def section
+ return @metadata['section']
+ end
end