mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 02:52:37 +00: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. (cherry picked from commita79718522d) (cherry picked from commit380d847e5c) (cherry picked from commit4126a9672d) (cherry picked from commitafde0ed822) (cherry picked from commit6ddaca0061) (cherry picked from commit454b2f6b35) (cherry picked from commit58c10e1f93) (cherry picked from commit19ec0a5536) (cherry picked from commitc3717ae4de) (cherry picked from commit6c74bbe575) (cherry picked from commit9cb48db780) (cherry picked from commit19cb774553) (cherry picked from commitac35eb83cd) (cherry picked from commit986a306d22) (cherry picked from commitcd841848ee) (cherry picked from commit9fd13853df) (cherry picked from commit4fa3942c19) (cherry picked from commitda23365e0f) (cherry picked from commit72d189e4c4) (cherry picked from commitd9f2a915c2) (cherry picked from commitd8773a323d) (cherry picked from commitaedaafe947) (cherry picked from commitf6ce73da17)
This commit is contained in:
parent
d3769a6cdc
commit
f2cdb2fa66
1 changed files with 1 additions and 1 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
* text=auto eol=lf
|
* text=auto eol=lf
|
||||||
*.tmpl linguist-language=Handlebars
|
*.tmpl linguist-language=go-html-template
|
||||||
/assets/*.json linguist-generated
|
/assets/*.json linguist-generated
|
||||||
/public/assets/img/svg/*.svg linguist-generated
|
/public/assets/img/svg/*.svg linguist-generated
|
||||||
/templates/swagger/v1_json.tmpl linguist-generated
|
/templates/swagger/v1_json.tmpl linguist-generated
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue