1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-16 02:30:44 +02:00

Added localization support

This commit is contained in:
Giuseppe Pignataro 2019-02-25 22:32:23 +01:00
parent 985b3f941e
commit 224f1a9fed

View file

@ -1,6 +1,6 @@
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>Similar articles:</h3>
<h3>{{ i18n "Similar" }} {{ i18n "articles" }}:</h3>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>