diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-10-24 16:34:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-10-24 16:46:55 -0400 |
commit | f0776648316c5f54e27bcd5b4c8ee50b57e6489c (patch) | |
tree | e69f6acea131b873ce214bb4b60afda90c37dba2 /lib/sisu/v2/sysenv.rb | |
parent | html, remove "copy @" mark (diff) |
html segments, title banner (including "copy @" mark) configurable, boolean
* true/false (config.yml commented out, default false)
(requested off option, Daniel Baumann)
Diffstat (limited to 'lib/sisu/v2/sysenv.rb')
-rw-r--r-- | lib/sisu/v2/sysenv.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb index 395559a8..f61b1fcd 100644 --- a/lib/sisu/v2/sysenv.rb +++ b/lib/sisu/v2/sysenv.rb @@ -3260,6 +3260,12 @@ WOK filename_homepage_toc << @vz_home.homepage end end + def html_seg_title_banner? + ((defined? @rc['html']['seg_title_banner']) \ + && @rc['html']['seg_title_banner']==true) \ + ? @rc['html']['seg_title_banner'] \ + : false + end def cp_images(src_path,dest_path) if FileTest.directory?(src_path) cd(src_path) |