cupper-hugo-theme/layouts/partials/footer.html
2021-01-10 13:36:21 -06:00

15 lines
397 B
HTML

<footer role="contentinfo">
<div
{{ if eq .Site.Params.showThemeSwitcher false }}style="display: none;"{{ end }}
>
<label for="themer">
{{ T "dark_theme" }} <input type="checkbox" id="themer" class="vh">
<!-- Shows "on" or "off" -->
<span aria-hidden="true"></span>
</label>
</div>
{{ with .Site.Params.footer }}
{{ . | markdownify }}
{{ end }}
</footer>