cupper-hugo-theme/layouts/partials/footer.html
lucasradaelli 8984ca9d6a
Custom css and localization support (#28)
* Adds i18n support for theme

* Adds a way for sites to have custom css.

This change adds a param to the theme (called customCss), which allows sites to
provide extra css under static/, so that they don't need to copy the theme's css
whole file.

If no custom css is in the params, this change is NOP.
2020-06-01 13:47:51 -05:00

12 lines
277 B
HTML

<footer role="contentinfo">
<div>
<label for="themer">
{{ T "dark_theme" }} <input type="checkbox" id="themer" class="vh">
<span aria-hidden="true"></span>
</label>
</div>
{{ with .Site.Params.footer }}
{{ . | markdownify }}
{{ end }}
</footer>