From 0afc76fb78518bf8185c02e548e83e63c8bb0153 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 31 Oct 2026 19:07:58 +0100 Subject: chore(core): add djlint template tooling Add djlint to the development toolchain with Jinja, CSS, and JavaScript formatting rules so template style can be checked and normalized consistently. Reformat existing templates to match the configured conventions. --- webmentions_ssg/templates/.djlintrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 webmentions_ssg/templates/.djlintrc (limited to 'webmentions_ssg/templates/.djlintrc') diff --git a/webmentions_ssg/templates/.djlintrc b/webmentions_ssg/templates/.djlintrc new file mode 100644 index 0000000..75c02c7 --- /dev/null +++ b/webmentions_ssg/templates/.djlintrc @@ -0,0 +1,14 @@ +{ + "blank_line_before_tag": "macro,block", + "blank_line_after_tag": "endmacro,extends", + "profile": "jinja", + "format_css": true, + "css": { + "indent_size": 2 + }, + "format_js": true, + "js": { + "indent_size": 2 + }, + "indent": "2" +} -- cgit v1.3.1