mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-03-23 03:21:50 +00:00
feat: 管理后台自定义代码
This commit is contained in:
1
resource/template/theme-default/footer.html
vendored
1
resource/template/theme-default/footer.html
vendored
@@ -14,7 +14,6 @@
|
||||
// console.log("currentBackendTheme:",currentBackendTheme);
|
||||
}
|
||||
showSwitchTemplate({{ .Themes }}, {{ .Conf.Site.Theme }})
|
||||
document.documentElement.setAttribute('nz-theme', window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')
|
||||
</script>
|
||||
{{ end }}
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user