Added invisible element to hack theme initialization.

This commit is contained in:
donfiguerres 2021-05-26 01:41:34 +08:00
parent 4254d03876
commit b754a9ce85
5 changed files with 18 additions and 5 deletions

View file

@ -32,6 +32,11 @@
</head>
<body data-spy="scroll" data-target="#top-navbar" data-offset="100">
<!-- INITIALIZE DARK THEME -->
{{ if site.Params.darkTheme.enable }}
{{ partial "helpers/darkmode.html" . }}
{{ end }}
<!--- NAVBAR ------------------------->
{{- partial "navigators/navbar.html" . -}}