mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
links in sidebar is now tranlatable
This commit is contained in:
parent
3d25006a4e
commit
65b9847333
@ -33,3 +33,6 @@
|
|||||||
|
|
||||||
- id: backToTop
|
- id: backToTop
|
||||||
translation: "Back to top"
|
translation: "Back to top"
|
||||||
|
|
||||||
|
- id: links
|
||||||
|
translation: "Links"
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user