后台关闭切换主题功能

This commit is contained in:
naiba committed 2024-02-27 21:05:39 +08:00
1 parent 6fa149519d
commit da6a3463ed
8 files changed
+40 -6

No files matched your search

+10
View File
@@ -7,6 +7,16 @@
{{.Version}}</small>
</div>
</div>
{{ if not .Conf.DisableSwitchTemplateInFrontend }}
<script>
function showSwitchTemplate(list, currentBackendTheme) {
console.log(list, currentBackendTheme);
}
showSwitchTemplate({{ .Themes }}, {{ .Conf.Site.Theme }})
</script>
{{ end }}
<script>
</script>
</body>
</html>
{{end}}