소스 검색

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 년 전
부모
커밋
eb778774d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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" . }}