forgejo/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.go Remove unnecessary template helper DisableGravatar (#26386) 2023-08-08 08:29:14 +00:00
helper_test.go
htmlrenderer.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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.go Fix missing commit message body when the message has leading newlines (#25418) 2023-06-21 09:14:34 +00:00
util_render_test.go Fix missing commit message body when the message has leading newlines (#25418) 2023-06-21 09:14:34 +00:00
util_slice.go
util_string.go
util_test.go