aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-09-05 22:57:26 -0400
committerRalph Amissah <ralph@amissah.com>2014-09-05 23:14:30 -0400
commit57c8b068358e785f80879a87e3f456ad24366ecf (patch)
tree56fd2248a45974241521c8df650717983a8f5ba3 /lib
parentv5 v6: xml xhtml outputs, &amp; issues (diff)
v5 v6: (for html) set default to navigation bar off
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v5/hub_options.rb2
-rw-r--r--lib/sisu/v5/se_processing.rb2
-rw-r--r--lib/sisu/v6/hub_options.rb2
-rw-r--r--lib/sisu/v6/se_processing.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v5/hub_options.rb b/lib/sisu/v5/hub_options.rb
index d871c9c3..676577fb 100644
--- a/lib/sisu/v5/hub_options.rb
+++ b/lib/sisu/v5/hub_options.rb
@@ -960,7 +960,7 @@ module SiSU_Commandline
=~/"--(?:exc|no)-html-navigation-bar"|"--(?:exc|no)-navigation-bar"/ \
|| act[:switch][:off].inspect =~/"html_navigation_bar"|"navbar"/
{ bool: false, set: :off }
- else { bool: true, set: :na }
+ else { bool: false, set: :na }
end
act[:segsubtoc]=if select_arr.inspect \
=~/"--inc-segsubtoc"/
diff --git a/lib/sisu/v5/se_processing.rb b/lib/sisu/v5/se_processing.rb
index 35fa72c2..33b4a4ed 100644
--- a/lib/sisu/v5/se_processing.rb
+++ b/lib/sisu/v5/se_processing.rb
@@ -309,7 +309,7 @@ module SiSU_Processing_Settings
elsif env_rc.build.html_navigation_bar? ==:off
false
else
- true
+ false
end
end
def search_form?
diff --git a/lib/sisu/v6/hub_options.rb b/lib/sisu/v6/hub_options.rb
index 336f0d93..6f9543d3 100644
--- a/lib/sisu/v6/hub_options.rb
+++ b/lib/sisu/v6/hub_options.rb
@@ -960,7 +960,7 @@ module SiSU_Commandline
=~/"--(?:exc|no)-html-navigation-bar"|"--(?:exc|no)-navigation-bar"/ \
|| act[:switch][:off].inspect =~/"html_navigation_bar"|"navbar"/
{ bool: false, set: :off }
- else { bool: true, set: :na }
+ else { bool: false, set: :na }
end
act[:segsubtoc]=if select_arr.inspect \
=~/"--inc-segsubtoc"/
diff --git a/lib/sisu/v6/se_processing.rb b/lib/sisu/v6/se_processing.rb
index 32b2490a..15db8cff 100644
--- a/lib/sisu/v6/se_processing.rb
+++ b/lib/sisu/v6/se_processing.rb
@@ -309,7 +309,7 @@ module SiSU_Processing_Settings
elsif env_rc.build.html_navigation_bar? ==:off
false
else
- true
+ false
end
end
def search_form?