summaryrefslogtreecommitdiffstats
path: root/lib/sisu/v5/manifest.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-08-28 22:10:49 +0000
committerRalph Amissah <ralph@amissah.com>2013-08-28 22:10:49 +0000
commit93255d4caf9af195458c48f4159fadc18d03e223 (patch)
treeb90527b36f2cdd35c9448fce7eaa6a707d34068f /lib/sisu/v5/manifest.rb
parentv4 v5: config files (by filetype & filename) touched (diff)
downloadsisu-93255d4caf9af195458c48f4159fadc18d03e223.zip
sisu-93255d4caf9af195458c48f4159fadc18d03e223.tar.xz
v4 v5: manifest, output organised by, info, minor touch
Diffstat (limited to 'lib/sisu/v5/manifest.rb')
-rw-r--r--lib/sisu/v5/manifest.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v5/manifest.rb b/lib/sisu/v5/manifest.rb
index 95112a7..a8e6bb2 100644
--- a/lib/sisu/v5/manifest.rb
+++ b/lib/sisu/v5/manifest.rb
@@ -841,10 +841,11 @@ WOK
'..'
else '..'
end
+ output_organised_by="(output organised by #{@env.output_dir_structure.by?})"
harvest=(FileTest.file?("#{pth_local}/authors#{@fn_lng}.html") \
&& FileTest.file?("#{pth_local}/topics#{@fn_lng}.html")) \
- ? %{<p class="small"><a href="#{pth_rel_home}/index.html">.:</a> other document manifests: [<a href="#{pth_rel}/authors#{@fn_lng}.html">authors</a>] [<a href="#{pth_rel}/topics#{@fn_lng}.html">topics</a>]</p>}
- : ''
+ ? %{<p class="small"><a href="#{pth_rel_home}/index.html">.:</a> other document manifests: [<a href="#{pth_rel}/authors#{@fn_lng}.html">authors</a>] [<a href="#{pth_rel}/topics#{@fn_lng}.html">topics</a>] #{output_organised_by}</p>}
+ : %{<p class="small"><a href="#{pth_rel_home}/index.html">#{output_organised_by}</p>}
manifest_title=%{<p class="bold">#{@translate.manifest_description}</p>#{harvest}}
@manifest[:html] <<<<WOK
<div id="horizontal_links">