summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2025-03-18 14:30:52 +0000
committerGitHub <noreply@github.com>2025-03-18 11:30:52 -0300
commit0dcc4a1dbc56b1f3aef9be749aff96a85ca92721 (patch)
tree0f2579c77ae6cf0bf08f22f7790ce1dcfa6bd5d6 /.gitattributes
parentafbb8c709d40e77b3f71c152d363c5ad95ceec2d (diff)
Configured GitHub to highlight HTML files as Django templates.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 170bbc2b54..2c9770c278 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -5,3 +5,5 @@
tests/staticfiles_tests/apps/test/static/test/*txt text eol=lf
tests/staticfiles_tests/project/documents/test/*txt text eol=lf
docs/releases/*.txt merge=union
+# Make GitHub syntax-highlight .html files as Django templates
+*.html linguist-language=django