Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucasradaelli <64749873+lucasradaelli@users.noreply.github.com>2020-06-02 04:48:33 +0300
committerGitHub <noreply@github.com>2020-06-02 04:48:33 +0300
commiteb778774d016e297427241630d30697705b978f7 (patch)
tree209d3f7827d350803bbbef297a813898e21db7fe
parent063a505b331c2227cea40b4a1dbd91a091297581 (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.html2
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" . }}