Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 20:56:11 +01:00

[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.
This commit is contained in:
Gusted 2023-08-01 21:41:03 +02:00
parent 3adb9ae600
commit a79718522d
No known key found for this signature in database
GPG key ID: FD821B732837125F

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