diff options
Diffstat (limited to 'lib/sisu/v3/harvest_authors.rb')
-rw-r--r-- | lib/sisu/v3/harvest_authors.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v3/harvest_authors.rb b/lib/sisu/v3/harvest_authors.rb index c59a9111..1320be41 100644 --- a/lib/sisu/v3/harvest_authors.rb +++ b/lib/sisu/v3/harvest_authors.rb @@ -216,17 +216,17 @@ module HARVEST_authors css_path,topics='','' if @env.output_dir_structure.by_language_code? css_path=(type !~/maintenance/) \ - ? '../../_sisu/css/harvest.css' \ + ? '../../_sisu/css/harvest.css' : 'harvest.css' topics='topics.html' elsif @env.output_dir_structure.by_filetype? css_path=(type !~/maintenance/) \ - ? '../_sisu/css/harvest.css' \ + ? '../_sisu/css/harvest.css' : 'harvest.css' 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 @@ -281,7 +281,7 @@ WOK a << '<p>' @alph.each do |x| a << ((x =~/[0-9]/) \ - ? '' \ + ? '' : %{<a href="##{x}">#{x}</a>, }) end a=a.join @@ -351,7 +351,7 @@ WOK end work=[ "#{x[:date]} #{x[:title]}", %{<p class="publication">#{x[:date]} <a href="#{manifest_at}">#{x[:title]}</a>, #{x[:author][:authors_s]}</p>} ] works<<=(@output[lng][:html_mnt].class==File) \ - ? (work.concat([%{<p class="publication">[<a href="#{x[:file]}.sst">src</a>] #{x[:date]} <a href="file://#{manifest_at}">#{x[:title]}</a>, #{x[:author][:authors_s]} -- [<a href="#{x[:file]}.sst">#{x[:file]}.sst</a>]</p>}])) \ + ? (work.concat([%{<p class="publication">[<a href="#{x[:file]}.sst">src</a>] #{x[:date]} <a href="file://#{manifest_at}">#{x[:title]}</a>, #{x[:author][:authors_s]} -- [<a href="#{x[:file]}.sst">#{x[:file]}.sst</a>]</p>}])) : work end works.sort_by {|x| x[0]}.each do |x| |