aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-02-03 21:25:47 -0500
committerRalph Amissah <ralph@amissah.com>2013-02-03 21:31:46 -0500
commit3c26df4df6047219869203bb71680248a37c59b4 (patch)
tree22edfdc010abdb2583ba0bfd652786a2ba24270a /lib/sisu/v4
parentv4 (v3): version & changelog (diff)
v4 (v3): sysenv, on --redirect, stop creation of redundant dir
Diffstat (limited to 'lib/sisu/v4')
-rw-r--r--lib/sisu/v4/sysenv.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v4/sysenv.rb b/lib/sisu/v4/sysenv.rb
index 2b36a222..d8b6f4fd 100644
--- a/lib/sisu/v4/sysenv.rb
+++ b/lib/sisu/v4/sysenv.rb
@@ -4208,7 +4208,8 @@ WOK
end
def html_segtoc
pth=((by_filename?) \
- || (output_dir_structure.dump?)) \
+ || (output_dir_structure.dump?) \
+ || (output_dir_structure.redirect?)) \
? "#{output_path.html.dir}"
: "#{output_path.html.dir}/#{@md.fnb}"
fn=base_filename.html_segtoc