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
This commit is contained in:
lucasradaelli 2020-06-01 18:48:33 -07:00 committed by GitHub
parent 063a505b33
commit eb778774d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
<a href="#main">skip to content</a>
<a href="#main">{{ T "skip_to_content" }}</a>
{{ partial "svg.html" . }}
<div class="wrapper">
{{ partial "header.html" . }}