diff options
author | Latiif alSharif <latiif@mail.com> | 2020-05-21 15:18:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 15:18:49 +0300 |
commit | ff8d5364ad003e996ad40e55036ba8eeabbac76e (patch) | |
tree | 32b4716f59afd13f304b42472a6f01d0a8ea7a0c | |
parent | e57d44345c6ec533ed0e7002551c83953e6d1332 (diff) |
Use title case for 'posts' translation (#338)
-rw-r--r-- | layouts/posts/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 109de7a..f69bd10 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,9 +1,9 @@ {{ define "title" }} - {{ i18n (lower .Title) | default .Title }} · {{ .Site.Title }} + {{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }} {{ end }} {{ define "content" }} <section class="container list"> - <h1 class="title"> {{ i18n (lower .Title) | default .Title }} </h1> + <h1 class="title"> {{ title (i18n (lower .Title)) | default .Title }} </h1> <ul> {{- range .Paginator.Pages -}} {{- .Render "li" -}} |