From 1e089ff9864237be31ca6cff015d2a2bf8736555 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph@amissah.com>
Date: Wed, 6 Jun 2012 22:47:59 -0400
Subject: v3: html, excludes (options) --exc-html-top-band, touch

* html (toc & scroll), (html_segments, concordance,) exclude top band
  sisu --exc-top-band --html --concordance filename.sst
---
 lib/sisu/v3/html.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'lib')

diff --git a/lib/sisu/v3/html.rb b/lib/sisu/v3/html.rb
index a5c1edb1..100916ff 100644
--- a/lib/sisu/v3/html.rb
+++ b/lib/sisu/v3/html.rb
@@ -530,7 +530,9 @@ WOK
         @segtoc << format_head_toc.head << ads.div.major
         toc_shared << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript
         @segtoc << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript
-        toc_shared << format_head_toc.scroll_head_navigation_band
+        if @make.build.html_top_band?
+          toc_shared << format_head_toc.scroll_head_navigation_band
+        end
         if defined? @md.rights.all
           rights=format_head_toc.rights.all
           rights=SiSU_HTML_Tune::CleanHTML.new(rights).clean
@@ -539,7 +541,9 @@ WOK
           prefix_b=format_head_toc.notes.prefix_b
           prefix_b=SiSU_HTML_Tune::CleanHTML.new(prefix_b).clean
         end
-        @segtoc << format_head_toc.seg_head_navigation_band
+        if @make.build.html_top_band?
+          @segtoc << format_head_toc.seg_head_navigation_band
+        end
         toc_shared << format_head_toc.scroll_head_title_banner_open
         @segtoc << format_head_toc.seg_head_title_banner_open
         tmp_head=nil
-- 
cgit v1.2.3