diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-03 21:25:47 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-03 21:31:46 -0500 |
commit | 3c26df4df6047219869203bb71680248a37c59b4 (patch) | |
tree | 22edfdc010abdb2583ba0bfd652786a2ba24270a /lib/sisu/v3/sysenv.rb | |
parent | v4 (v3): version & changelog (diff) |
v4 (v3): sysenv, on --redirect, stop creation of redundant dir
Diffstat (limited to 'lib/sisu/v3/sysenv.rb')
-rw-r--r-- | lib/sisu/v3/sysenv.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb index bfe35c5d..8ed17f88 100644 --- a/lib/sisu/v3/sysenv.rb +++ b/lib/sisu/v3/sysenv.rb @@ -4106,7 +4106,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 |