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 3d25006a4e
commit 65b9847333
2 changed files with 4 additions and 1 deletions

View File

@ -33,3 +33,6 @@
- id: backToTop - id: backToTop
translation: "Back to top" translation: "Back to top"
- 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>