diff options
Diffstat (limited to 'bin/util.rb')
-rw-r--r-- | bin/util.rb | 8 |
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 |