blog-theme/alchemy/templates/include
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
..
analytics.html Indent jinja code blocks, allow editors to collapse regions 2017-11-21 15:22:16 +03:00
comments.html Indent jinja code blocks, allow editors to collapse regions 2017-11-21 15:22:16 +03:00
footer.html Support all edge cases for direct template links 2019-10-22 11:47:27 +03:00
header.html Support paths relative to site root in LINKS and ICONS 2019-10-18 14:43:23 +03:00
pagination.html Enable alternative themes for Bootstrap (e.g. Boostwatch) 2019-09-18 17:52:08 +03:00
xml_feeds.html Remove positional argument formatting on object-related feed URLs to be complient with pelican 4.0 2018-12-20 10:23:48 +01:00