Replace more hardcoded strings with their i18nized versions.

This commit is contained in:
Danila Fedorin 2020-08-12 19:15:14 -07:00
parent 7d1fcdb0c5
commit 8557dc4399
4 changed files with 8 additions and 2 deletions

View File

@ -10,6 +10,9 @@ other = "Resume"
[Tags]
other = "Tags"
[RecentPosts]
other = "Recent posts"
[AllPosts]
other = "All Posts"

View File

@ -10,6 +10,9 @@ other = "Резюме"
[Tags]
other = "Метки"
[RecentPosts]
other = "Недавние статьи"
[AllPosts]
other = "Все Статьи"

View File

@ -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" . }}

View File

@ -1,5 +1,5 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<h2>{{ i18n "Tags" }}</h2>
{{ i18n "AllTags" }}
<ul>