You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/templates
wxiaoguang 24a9caa2f3
Fix more HTMLURL in templates (#22831)
I haven't tested `runs_list.tmpl` but I think it could be right.

After this PR, besides the `<meta .. HTMLURL>` in html head, the only
explicit HTMLURL usage is in `pull_merge_instruction.tmpl`, which
doesn't affect users too much and it's difficult to fix at the moment.

There are still many usages of `AppUrl` in the templates (eg: the
package help manual), they are similar problems as the HTMLURL in
pull_merge_instruction, and they might be fixed together in the future.

Diff without space:
https://github.com/go-gitea/gitea/pull/22831/files?diff=unified&w=1
1 year ago
..
vars Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Implement FSFE REUSE for golang files (#21840) 2 years ago
dynamic.go Implement FSFE REUSE for golang files (#21840) 2 years ago
helper.go Fix more HTMLURL in templates (#22831) 1 year ago
helper_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
htmlrenderer.go Display error log when a modified template has an error so that it could recovery when the error fixed (#22261) 2 years ago
mailer.go Implement FSFE REUSE for golang files (#21840) 2 years ago
static.go Implement FSFE REUSE for golang files (#21840) 2 years ago
templates_bindata.go Implement FSFE REUSE for golang files (#21840) 2 years ago