0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 21:54:48 +01:00
gitea/modules/templates
silverwind c7612d178c
Remove meta tags theme-color and default-theme (#24960)
As discussed in
https://github.com/go-gitea/gitea/pull/24953#issuecomment-1565630156.

## ⚠️ BREAKING ⚠️

1. The `ui.THEME_COLOR_META_TAG` setting has been removed. If you still
need to set the `theme-color` meta tag, add it via
`$GITEA_CUSTOM/templates/custom/header.tmpl` instead.

2. The non-standard `default-theme` meta-tag added in
https://github.com/go-gitea/gitea/pull/13809 has been removed. Third
party code that needs to obtain the currently loaded theme should use
the `theme-<name>` class on the `<html>` node instead, which reflect the
currently active theme.
2023-05-28 22:33:17 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go Remove meta tags theme-color and default-theme (#24960) 2023-05-28 22:33:17 +00:00
helper_test.go
htmlrenderer.go Improve RunMode / dev mode (#24886) 2023-05-25 03:47:30 +00:00
htmlrenderer_test.go
mailer.go Improve RunMode / dev mode (#24886) 2023-05-25 03:47:30 +00:00
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go
util_render.go
util_slice.go
util_string.go
util_test.go