aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/html_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-02-15 13:19:16 -0500
committerRalph Amissah <ralph@amissah.com>2011-02-15 13:26:03 -0500
commit3a263de6877c27071c2a6f3389b6eaf5c2455ede (patch)
treeaa2531d8c62acbf6af6ac56405f174b7c570033e /lib/sisu/v3/html_format.rb
parentconsole feedback on selected files being processed, updates & fixes (diff)
sysenv, sisurc.yml & elsewhere as affected, output_dir_structure (conf & tests)
* (by_language_code; by_filetype; by_filename)
Diffstat (limited to 'lib/sisu/v3/html_format.rb')
-rw-r--r--lib/sisu/v3/html_format.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3/html_format.rb b/lib/sisu/v3/html_format.rb
index 15345ca0..76805234 100644
--- a/lib/sisu/v3/html_format.rb
+++ b/lib/sisu/v3/html_format.rb
@@ -187,8 +187,8 @@ module SiSU_HTML_Format
env.widget.search_form('sisusearch',nil,nil,true)
end
def manifest
- manifest_lnk=if @file.by_language? \
- or @file.by_filetype?
+ manifest_lnk=if @file.output_dir_structure.by_language_code? \
+ or @file.output_dir_structure.by_filetype?
"#{Xx[:html_relative1]}manifest/#{@file.base_filename.manifest}"
else @file.base_filename.manifest
end
@@ -651,8 +651,8 @@ WOK
nxt="#{@md.fnl[:pre]}#{@seg_name_html[@seg_name_html_tracker+1]}#{@md.fnl[:mid]}#{Sfx[:html]}#{@md.fnl[:post]}"
if nxt=~/sisu_manifest\.html/
@file=SiSU_Env::SiSU_file.new(@md) if @md
- if @file.by_language? \
- or @file.by_filetype?
+ if @file.output_dir_structure.by_language_code? \
+ or @file.output_dir_structure.by_filetype?
nxt.gsub!(/sisu_manifest\.html/,"../../manifest/#{@file.base_filename.manifest}")
end
end
@@ -713,8 +713,8 @@ WOK
</td>} if f_nxt==true
if nxt =~/sisu_manifest.html/
@file=SiSU_Env::SiSU_file.new(@md) if @md
- if @file.by_language? \
- or @file.by_filetype?
+ if @file.output_dir_structure.by_language_code? \
+ or @file.output_dir_structure.by_filetype?
nxt.gsub!(/sisu_manifest\.html/,"../../manifest/#{@file.base_filename.manifest}")
end
end