Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
eb778774d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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" . }}