From 8faa15175c0b8c444105f7537078362dc1c66712 Mon Sep 17 00:00:00 2001
From: Jake Howard <jake.howard@torchbox.com>
Date: Tue, 18 Mar 2025 17:18:52 +0000
Subject: [PATCH] Make GitHub highlight html files as Django templates

Shamelessly stolen from https://github.com/django/django/pull/19279
---
 .gitattributes       | 2 ++
 CHANGELOG.txt        | 1 +
 docs/releases/6.5.md | 1 +
 3 files changed, 4 insertions(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..2cb559a426
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Make GitHub highlight html files as Django templates
+*.html linguist-language=django
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 9b867255fe..5a9c0befda 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -34,6 +34,7 @@ Changelog
  * Maintenance: Cleanup Stimulus controller imports, JSDoc & linting (LB (Ben) Johnston)
  * Maintenance: Rename `SkipLinkController` to `FocusController` with improved reusability, updated unit tests, and added story (LB (Ben) Johnston)
  * Maintenance: Fix CI testing issues with the Stimulus `LocaleController` time zones & non-deterministic page ordering tests (Sage Abdullah)
+ * Maintenance: Make GitHub highlight `.html` files as Django templates (Jake Howard)
 
 
 6.4.1 (21.02.2025)
diff --git a/docs/releases/6.5.md b/docs/releases/6.5.md
index 0a9955495a..7267b77fe0 100644
--- a/docs/releases/6.5.md
+++ b/docs/releases/6.5.md
@@ -52,6 +52,7 @@ depth: 1
  * Cleanup Stimulus controller imports, JSDoc & linting (LB (Ben) Johnston)
  * Rename `SkipLinkController` to `FocusController` with improved reusability, updated unit tests, and added story (LB (Ben) Johnston)
  * Fix CI testing issues with the Stimulus `LocaleController` time zones & non-deterministic page ordering tests (Sage Abdullah)
+ * Make GitHub highlight `.html` files as Django templates (Jake Howard)
 
 ## Upgrade considerations - changes affecting all projects