1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +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
translation: "Back to top"
- id: links
translation: "Links"

View File

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