From 7d9281ca1cda283b24257e5fde7e269e592662a1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 9 Dec 2014 19:09:11 -0500 Subject: c&d: html, output by filename, filenames, fix --- lib/sisu/current/se_file_op.rb | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'lib/sisu/current') diff --git a/lib/sisu/current/se_file_op.rb b/lib/sisu/current/se_file_op.rb index b64aef94..bccb7605 100644 --- a/lib/sisu/current/se_file_op.rb +++ b/lib/sisu/current/se_file_op.rb @@ -1008,19 +1008,11 @@ module SiSU_File_Op def html_seg(fh) fh=default_hash_build(fh,Sfx[:html]) fh[:lng]=lang_code?(fh[:lng]) - fnh=if output_dir_structure.by_filename? - { - fn: 'scroll', - ft: fh[:ft], - lng: fh[:lng], - } - else - { - fn: fh[:fn], - ft: fh[:ft], - lng: fh[:lng], - } - end + fnh={ + fn: fh[:fn], + ft: fh[:ft], + lng: fh[:lng], + } i18n(fnh) end def html_book_index(fh=nil) -- cgit v1.2.3