aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-10-24 16:34:22 -0400
committerRalph Amissah <ralph@amissah.com>2010-10-24 16:46:55 -0400
commitf0776648316c5f54e27bcd5b4c8ee50b57e6489c (patch)
treee69f6acea131b873ce214bb4b60afda90c37dba2 /lib/sisu/v2/sysenv.rb
parenthtml, 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.rb6
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)