Currently, ablog unconditionally injects its own templates at the end of templates_path:
|
app.config.templates_path.append(get_html_templates_path()) |
These templates are injected by Sphinx before the theme-provided templates:
https://github.com/sphinx-doc/sphinx/blob/v4.4.0/sphinx/jinja2glue.py#L168
This means, there is no easy way for theme authors to provide explicit support for ablog in their theme, if they don't follow the assumptions that ablog makes in its own templates (see #108).
/cc @choldgraf, since he contributed the unconditional addition + has his own blog using ablog as well. :)
Currently, ablog unconditionally injects its own templates at the end of
templates_path:ablog/ablog/__init__.py
Line 102 in cbec004
These templates are injected by Sphinx before the theme-provided templates:
https://github.com/sphinx-doc/sphinx/blob/v4.4.0/sphinx/jinja2glue.py#L168
This means, there is no easy way for theme authors to provide explicit support for ablog in their theme, if they don't follow the assumptions that ablog makes in its own templates (see #108).
/cc @choldgraf, since he contributed the unconditional addition + has his own blog using ablog as well. :)