blog-theme/alchemy
Vitaly Potyarkin a392498f69 Support all edge cases for direct template links
Non-hardcoded paths are not that simple.

Direct templates do not always have meaningful *_URL or even *_SAVE_AS
values. More than that, those variables are not even defined by default.
Therefore we need to replicate the logic used by Pelican itself when
calculating the path to direct template output.

Related:

- DIRECT_TEMPLATES handling by Pelican:
  01eb08c42b/pelican/generators.py (L537-L550)
- Pelican issue for "Why are CATEGORIES_URL and TAGS_URL gone?"
  https://github.com/getpelican/pelican/issues/1225

Merges #75
2019-10-22 11:47:27 +03:00
..
static Add stylesheet to restore old visual style 2019-10-18 16:21:06 +03:00
templates Support all edge cases for direct template links 2019-10-22 11:47:27 +03:00
__init__.py Enable installation with pip 2019-09-27 12:20:52 +03:00