You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
task: Rename templates to template.html.jinja #151
Syntax highlighters do not automatically detect that the templates are Jinja templates because they use the .html extension, so they only highlight them as HTML, not Jinja+HTML. I'd like to rename them to use the .html.jinja extension, to enable automatic Jinja+HTML syntax highlighting.
Since templates are overridable, the file names matter, and that's a breaking change. Therefore it needs a deprecation period where we are able to use both the .html and .html.jinja files while emitting warnings when the .html ones are used.
(Also make sure the handler Copier template uses such extensions too)
Activity
refactor: Log a warning when base templates are overridden
refactor: Update `get_template` filter to support both `*.html` and `…
refactor: Add `*.html.jinja` base templates, which are copies of `*.h…
refactor: Add `*.html.jinja` top-level (overridable) templates, exten…
refactor: Update `*.html` base templates to extend their `*.html.jinj…
refactor: Update `*.html` top-level templates to extend the `*.html.j…
tests: Use `*.html.jinja` template in tests
refactor: Update `get_template` filter to support both `*.html` and `…
refactor: Add `*.html.jinja` base templates, which are copies of `*.h…
refactor: Add `*.html.jinja` top-level (overridable) templates, exten…
refactor: Update `*.html` base templates to extend their `*.html.jinj…
refactor: Update `*.html` top-level templates to extend the `*.html.j…
tests: Use `*.html.jinja` template in tests
5 remaining items
refactor: Log a warning when base templates are overridden
refactor: Update `get_template` filter to support both `*.html` and `…
refactor: Add `*.html.jinja` base templates, which are copies of `*.h…
refactor: Add `*.html.jinja` top-level (overridable) templates, exten…
refactor: Update `*.html` base templates to extend their `*.html.jinj…
refactor: Update `*.html` top-level templates to extend the `*.html.j…
tests: Use `*.html.jinja` template in tests
refactor: Log a warning when base templates are overridden
refactor: Update `get_template` filter to support both `*.html` and `…
refactor: Add `*.html.jinja` base templates, which are copies of `*.h…
refactor: Add `*.html.jinja` top-level (overridable) templates, exten…
refactor: Update `*.html` base templates to extend their `*.html.jinj…
refactor: Update `*.html` top-level templates to extend the `*.html.j…
tests: Use `*.html.jinja` template in tests