Added settings to give a different output filename than index.html#115
Added settings to give a different output filename than index.html#115saimn merged 2 commits intosaimn:masterfrom
Conversation
|
Hi @j0nes2k , or maybe a list of tuples What do you think ? |
|
I agree that this approach would solve the basic problem for me, too. |
|
Hmm, looping on the list of (template, output_file) can be easily done in the write method, but the tricky point is how to handle the urls. |
sigal/gallery.py
Outdated
There was a problem hiding this comment.
This could be directly settings['output_filename'] (instead of adding an extra parameter).
|
I also think that support for multiple output files is generally a good idea and can be used for a lot of other advanced features (like tag pages, recent changes etc). I would suggest to have a look at this problem again when developing features that require these changes. |
Added settings to give a different output filename than index.html
|
Ok, let's start with this. Thanks for the contribution :) |
With this option it is possible to specify another output filename for the generated gallery files than the default index.html. This is useful if the directory index is already used otherwise.