From 07918592c464cfb2944d363a7c03d1fb599af303 Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 1 Aug 2023 21:41:03 +0200 Subject: [PATCH] [META] Use correct language for .tmpl - Upstream chosen `Handlebars` as language for the templates, presumenly because Github doesn't have an syntax highlighter for Go. - Forgejo does have syntax highlighting support for Go templates, so use that. (cherry picked from commit a79718522dc432e32cf322498ddf22ec570fa8fd) (cherry picked from commit 380d847e5cdb179292c7bd1a5e3e6839fb8b31dd) (cherry picked from commit 4126a9672d93fc33b72fb816a404056aac64dfc8) (cherry picked from commit afde0ed82271df540348953a811a8e9db1a83343) (cherry picked from commit 6ddaca00615340958e1aecca2c4807e39a2b1eff) (cherry picked from commit 454b2f6b35c018cc631dd8847ae9d3243d9adc37) (cherry picked from commit 58c10e1f93da8d8f193936eff00ebd86ecd8b78c) (cherry picked from commit 19ec0a5536204105be78744b436a35710d8e8702) (cherry picked from commit c3717ae4deb8acb43f861675dc44f689def544ed) (cherry picked from commit 6c74bbe5757b290c2fe5ea13cd980a2b11fb207e) (cherry picked from commit 9cb48db780c3592a6aa1df2770a309729eca35f6) (cherry picked from commit 91ce9dccd39292a1d8ed45fd51390f38b1d599a5) (cherry picked from commit 6d6971b6d6d041b4b5569383168db8cf3a306d84) (cherry picked from commit cd66dd3ca464ebf845fd6ff92dc764440e1da26c) (cherry picked from commit 3cd8e15d9be554c578eaa40cf4d5c9e88784b32f) --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 467b8a47b5..51131c7d83 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ * text=auto eol=lf -*.tmpl linguist-language=Handlebars +*.tmpl linguist-language=go-html-template /assets/*.json linguist-generated /public/assets/img/svg/*.svg linguist-generated /templates/swagger/v1_json.tmpl linguist-generated