Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00
forgejo/build
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965)
None of the features of `unrolled/render` package is used. 

The Golang builtin "html/template" just works well. Then we can improve
our HTML render to resolve the "$.root.locale.Tr" problem as much as
possible.

Next step: we can have a template render pool (by Clone), then we can
inject global functions with dynamic context to every `Execute` calls.
Then we can use `{{Locale.Tr ....}}` directly in all templates , no need
to pass the `$.root.locale` again and again.
2023-04-08 14:21:50 +08:00
..
codeformat Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
backport-locales.go Try to catch more broken translations (#23867) 2023-04-03 11:12:47 +08:00
code-batch-process.go Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
generate-bindata.go Change use of Walk to WalkDir to improve disk performance (#22462) 2023-01-16 16:21:44 +00:00
generate-emoji.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2023-03-29 14:32:26 +08:00
generate-gitignores.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
generate-go-licenses.go Drop "unrolled/render" package (#23965) 2023-04-08 14:21:50 +08:00
generate-images.js Update JS dependencies and eslint (#22190) 2022-12-20 17:15:47 -05:00
generate-licenses.go Remove deprecated licenses (#20222) 2022-08-22 00:33:01 -04:00
generate-svg.js Keep (add if not existing) xmlns attribute for generated SVG images (#23410) 2023-03-21 13:39:27 +08:00
gocovmerge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
test-echo.go Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
test-env-check.sh Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00
test-env-prepare.sh Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00
update-locales.sh Clarify Gitea/Crowdin locale behaviors, add tests for LocaleStore, fix some strings with semicolons (#23819) 2023-03-31 12:16:41 +08:00
watch.sh Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00