multi-language support through i18n
This commit is contained in:
parent
e9193c9bc9
commit
5529fcddd5
@ -10,6 +10,12 @@ other = "Newer"
|
|||||||
[older]
|
[older]
|
||||||
other = "Older"
|
other = "Older"
|
||||||
|
|
||||||
|
[tagged]
|
||||||
|
other = "Tagged"
|
||||||
|
|
||||||
|
[read_more]
|
||||||
|
other = "Read more..."
|
||||||
|
|
||||||
[noteworthy_theme]
|
[noteworthy_theme]
|
||||||
other = "Noteworthy theme"
|
other = "Noteworthy theme"
|
||||||
|
|
||||||
|
@ -10,6 +10,12 @@ other = "Successivi"
|
|||||||
[older]
|
[older]
|
||||||
other = "Precedenti"
|
other = "Precedenti"
|
||||||
|
|
||||||
|
[tagged]
|
||||||
|
other = "Contrassegnato"
|
||||||
|
|
||||||
|
[read_more]
|
||||||
|
other = "Continua a leggere..."
|
||||||
|
|
||||||
[noteworthy_theme]
|
[noteworthy_theme]
|
||||||
other = "Tema Noteworthy"
|
other = "Tema Noteworthy"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<!-- Page that displays after clicking on a post's tag -->
|
<!-- Page that displays after clicking on a post's tag -->
|
||||||
<h1>Tagged "{{ .Data.Term }}"</h1>
|
<h1>{{ i18n "tagged" }} "{{ .Data.Term }}"</h1>
|
||||||
{{range .Pages}}
|
{{range .Pages}}
|
||||||
|
|
||||||
<!-- Display the posts with the tag -->
|
<!-- Display the posts with the tag -->
|
||||||
@ -13,7 +13,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p>{{ .Summary }}</p>
|
<p>{{ .Summary }}</p>
|
||||||
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
||||||
<p><a href="{{ .RelPermalink }}">Read more...</a></p>
|
<p><a href="{{ .RelPermalink }}">{{ i18n "read_more" }}</a></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="post-footer">
|
<div class="post-footer">
|
||||||
@ -22,4 +22,4 @@
|
|||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p>{{ .Summary }}</p>
|
<p>{{ .Summary }}</p>
|
||||||
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
{{ if (and (.Site.Params.showReadMore) (.Truncated)) }}
|
||||||
<p><a href="{{ .RelPermalink }}">Read more...</a></p>
|
<p><a href="{{ .RelPermalink }}">{{ i18n "read_more" }}</a></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="post-footer">
|
<div class="post-footer">
|
||||||
|
Loading…
Reference in New Issue
Block a user