automatic-theme : remove
This commit is contained in:
parent
98bd396c4b
commit
eeb70f3f89
3 changed files with 0 additions and 50 deletions
|
|
@ -50,8 +50,3 @@
|
|||
{{- template "_internal/google_analytics_async.html" . }}
|
||||
{{- template "_internal/opengraph.html" . }}
|
||||
{{- end }}
|
||||
<!-- Script -->
|
||||
{{- if $.Site.Params.SetThemeAuto -}}
|
||||
{{ $settheme := resources.Get "js/set-theme.js" | minify }}
|
||||
<script src="{{ $settheme.Permalink }}"></script>
|
||||
{{- end -}}
|
||||
|
|
@ -1,9 +1,4 @@
|
|||
<header class="header">
|
||||
{{- if $.Site.Params.SetThemeAuto -}}
|
||||
<script>
|
||||
setTheme();
|
||||
</script>
|
||||
{{- end -}}
|
||||
<nav class="nav">
|
||||
{{- if .IsHome }}
|
||||
<h1 class="logo"><a href="{{ "" | absLangURL }}">{{ .Site.Title }}</a></h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue