Add i18n support to the theme
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
Recent posts:
|
||||
{{ i18n "recentPosts" }}:
|
||||
<ul class="post-list">
|
||||
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
|
||||
{{ partial "post.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user