Output valid HTML (#673)

This commit is contained in:
Keno Hassler 2022-05-27 19:19:32 +02:00 committed by GitHub
parent 2e36f439a4
commit 6aced45a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@
{{- $label_text -}} {{- $label_text -}}
</a> </a>
{{- end }} {{- end }}
<span class="logo-switches"> <div class="logo-switches">
{{- if (not site.Params.disableThemeToggle) }} {{- if (not site.Params.disableThemeToggle) }}
<button id="theme-toggle" accesskey="t" title="(Alt + T)"> <button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" <svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
@ -115,7 +115,7 @@
{{- end}} {{- end}}
</ul> </ul>
{{- end }} {{- end }}
</span> </div>
</div> </div>
{{- $currentPage := . }} {{- $currentPage := . }}
<ul id="menu"> <ul id="menu">