Bläddra i källkod

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
lucasradaelli 5 år sedan
förälder
incheckning
eb778774d0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      layouts/_default/baseof.html

+ 1 - 1
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" . }}