diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-07-30 21:42:02 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-07-30 21:42:02 -0400 |
commit | d15713b728f0c923837e6c417d095e5e1fe2d443 (patch) | |
tree | b293b1310a352fb99b5bd7a3b6fed46ba49b9a46 /lib/sisu/v5/harvest_topics.rb | |
parent | debian/changelog (4.1.7-1) (diff) | |
parent | v5: cgi helper script, sample search form, single form, monolingual option (diff) |
Merge tag 'sisu_4.1.8' into debian/sid
SiSU 4.1.8
Diffstat (limited to 'lib/sisu/v5/harvest_topics.rb')
-rw-r--r-- | lib/sisu/v5/harvest_topics.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v5/harvest_topics.rb b/lib/sisu/v5/harvest_topics.rb index d3189639..eef5a2e2 100644 --- a/lib/sisu/v5/harvest_topics.rb +++ b/lib/sisu/v5/harvest_topics.rb @@ -737,10 +737,11 @@ WOK end end def do_hash_md(lng,attrib,hash) + lang_code_insert=SiSU_Env::FilenameLanguageCodeInsert.new(@opt,lng).language_code_insert manifest_at=if @env.output_dir_structure.by? == :language - hash[:file] + '.html' + hash[:file] + Sfx[:html] elsif @env.output_dir_structure.by? == :filetype - hash[:file] + '.' + lng + '.html' + hash[:file] + lang_code_insert + Sfx[:html] elsif @env.output_dir_structure.by? == :filename "./#{hash[:file]}/#{hash[:page]}" else '' #error |