From 93255d4caf9af195458c48f4159fadc18d03e223 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 28 Aug 2013 18:10:49 -0400 Subject: v4 v5: manifest, output organised by, info, minor touch --- lib/sisu/v4/manifest.rb | 5 +++-- lib/sisu/v5/manifest.rb | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'lib') 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")) \ - ? %{

.: other document manifests: [authors] [topics]

} - : '' + ? %{

.: other document manifests: [authors] [topics] #{output_organised_by}

} + : %{

#{output_organised_by}

} manifest_title=%{

#{@translate.manifest_description}

#{harvest}} @manifest[:html] <<< 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")) \ - ? %{

.: other document manifests: [authors] [topics]

} - : '' + ? %{

.: other document manifests: [authors] [topics] #{output_organised_by}

} + : %{

#{output_organised_by}

} manifest_title=%{

#{@translate.manifest_description}

#{harvest}} @manifest[:html] <<< -- cgit v1.2.3