diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-08-28 18:10:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-08-28 18:10:49 -0400 |
commit | 93255d4caf9af195458c48f4159fadc18d03e223 (patch) | |
tree | b90527b36f2cdd35c9448fce7eaa6a707d34068f /lib | |
parent | v4 v5: config files (by filetype & filename) touched (diff) |
v4 v5: manifest, output organised by, info, minor touch
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v4/manifest.rb | 5 | ||||
-rw-r--r-- | lib/sisu/v5/manifest.rb | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/sisu/v4/manifest.rb b/lib/sisu/v4/manifest.rb index eb888387..d86830e4 100644 --- a/lib/sisu/v4/manifest.rb +++ b/lib/sisu/v4/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"> diff --git a/lib/sisu/v5/manifest.rb b/lib/sisu/v5/manifest.rb index 95112a7a..a8e6bb25 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"> |