cupper-hugo-theme/layouts/_default/baseof.html
lucasradaelli eb778774d0
adds missing skip to content link in the localization flow (#29)
* 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.

* Adds skip to content link as part of the localization flow
2020-06-01 20:48:33 -05:00

21 lines
542 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
<a href="#main">{{ T "skip_to_content" }}</a>
{{ partial "svg.html" . }}
<div class="wrapper">
{{ partial "header.html" . }}
<div class="main-and-footer">
<div>
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
</div>
</div>
</div>
{{ partial "script.html" . }}
{{ partial "katex.html" . }}
{{ partial "google-analytics-async.html" . }}
</body>
</html>