From 13143b5a5fe058eb3a5ad222093339cb067a7e63 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 14 Mar 2013 23:31:47 -0400 Subject: v4: harvest, links for output_by? filename --- lib/sisu/v4/harvest_authors.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v4/harvest_authors.rb b/lib/sisu/v4/harvest_authors.rb index 80aee266..671b93ab 100644 --- a/lib/sisu/v4/harvest_authors.rb +++ b/lib/sisu/v4/harvest_authors.rb @@ -231,7 +231,7 @@ module SiSU_HarvestAuthors topics="topics.#{lng}.html" elsif @env.output_dir_structure.by? == :filename css_path=(type !~/maintenance/) \ - ? '../_sisu/css/harvest.css' + ? './_sisu/css/harvest.css' : 'harvest.css' topics="topics.#{lng}.html" end @@ -244,6 +244,9 @@ module SiSU_HarvestAuthors elsif @env.output_dir_structure.by? == :filetype harvest_pth='.' file="#{harvest_pth}/authors.#{lng}.html" + elsif @env.output_dir_structure.by? == :filename + harvest_pth='.' + file="#{harvest_pth}/authors.#{lng}.html" end l=ln[lng][:t] harvest_languages += %{#{l}   } @@ -357,7 +360,7 @@ WOK manifest_name=x[:file] x[:file] + '.' + lng + '.html' elsif @env.output_dir_structure.by? == :filename - "../#{x[:file]}/#{x[:page]}" + "./#{x[:file]}/#{x[:page]}" else '' #error end work=[ "#{x[:date]} #{x[:title]}", %{

#{x[:date]} #{x[:title]}, #{x[:author][:authors_s]}

} ] -- cgit v1.2.3