1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

links in sidebar is now tranlatable

This commit is contained in:
Mathieu GAUTHIER-LAFAYE 2016-12-09 15:46:31 +01:00
parent c4e9a6cd1e
commit f39a049bc9
2 changed files with 4 additions and 1 deletions

View File

@ -30,3 +30,6 @@
- id: cookieDismiss - id: cookieDismiss
translation: "Got it!" translation: "Got it!"
- id: links
translation: "Links"

View File

@ -19,7 +19,7 @@
{{ with .Site.Menus.sidebar }} {{ with .Site.Menus.sidebar }}
<section class="sidebar-module"> <section class="sidebar-module">
<h4>Links</h4> <h4>{{ i18n "links" }}</h4>
<ol class="list-unstyled"> <ol class="list-unstyled">
{{ range . }} {{ range . }}
<li><a href="{{ .URL | absURL }}">{{ .Name }}</a></li> <li><a href="{{ .URL | absURL }}">{{ .Name }}</a></li>