diff options
author | lucasradaelli <64749873+lucasradaelli@users.noreply.github.com> | 2020-06-02 04:48:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 04:48:33 +0300 |
commit | eb778774d016e297427241630d30697705b978f7 (patch) | |
tree | 209d3f7827d350803bbbef297a813898e21db7fe | |
parent | 063a505b331c2227cea40b4a1dbd91a091297581 (diff) |
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
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f01fa3e..f2c41c3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -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" . }} |