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/v4 | |
parent | v4 (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.rb | 3 |
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 |