[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 a79718522d)
(cherry picked from commit 380d847e5c)
(cherry picked from commit 4126a9672d)
(cherry picked from commit afde0ed822)
(cherry picked from commit 6ddaca0061)
(cherry picked from commit 454b2f6b35)
(cherry picked from commit 58c10e1f93)
(cherry picked from commit 19ec0a5536)
(cherry picked from commit c3717ae4de)
(cherry picked from commit 6c74bbe575)
(cherry picked from commit 9cb48db780)
(cherry picked from commit 91ce9dccd3)
(cherry picked from commit 6d6971b6d6)
(cherry picked from commit cd66dd3ca4)
(cherry picked from commit 3cd8e15d9b)
(cherry picked from commit 07918592c4)
This commit is contained in:
Gusted 2023-08-01 21:41:03 +02:00 committed by Earl Warren
parent 85340c074f
commit 313132c2c5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

2
.gitattributes vendored
View file

@ -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