Changes between Initial Version and Version 1 of Ticket #5334, comment 4


Ignore:
Timestamp:
06/22/2017 03:20:20 PM (2 years ago)
Author:
kvas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5334, comment 4

    initial v1  
    11Given that we need `.html` extension only on particular pages in some cases, I thought that we probably need to be able to specify extension on individual pages. The obvious way to do it is to have a metadata field for it. It would default to no extension, but it seems that it would also be useful to be able to set another default (e.g. `.html`). Thus we would end up with the following list: 
    22 
    3 - `defaultextension` configuration option, 
     3- `defaultextension` configuration option in `settings.ini`, 
    44- `--default-extension` option to `generate_static_files.py` that overrides `defaultextension` configuration option. 
    55- `extension` metadata field that overrides all of the above.