1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-17 17:57:04 +01:00

Merge pull request #28 from gauthierl/links

links in sidebar is not tranlatable
This commit is contained in:
Alan Orth 2016-12-09 17:38:03 +02:00 committed by GitHub
commit 6e753267d6
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>