0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 08:10:24 +01:00
gitea/modules/templates
wxiaoguang 4fc4f6e634
Refactor "editorconfig" (#26391)
There are 2 kinds of ".Editorconfig" in code, one is `JSON string` for
the web edtior, another is `*editorconfig.Editorconfig` for the file
rendering (used by `TabSizeClass`)

This PR distinguish them with different names.

And by the way, change the default tab size from 8 to 4, I think few
people would like to use 8-size tabs nowadays.
2023-08-08 10:44:19 +00:00
..
eval
scopedtmpl Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
vars
base.go
dynamic.go
helper_test.go
helper.go Remove unnecessary template helper DisableGravatar (#26386) 2023-08-08 08:29:14 +00:00
htmlrenderer_test.go
htmlrenderer.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
mailer.go
static.go
templates_bindata.go
util_avatar.go Remove unnecessary template helper repoAvatar (#26387) 2023-08-08 15:29:35 +08:00
util_dict.go
util_json.go
util_misc.go Refactor "editorconfig" (#26391) 2023-08-08 10:44:19 +00:00
util_render_test.go
util_render.go
util_slice.go
util_string.go
util_test.go