Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/luizdepra/hugo-coder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLatiif alSharif <latiif@mail.com>2020-05-21 15:18:49 +0300
committerGitHub <noreply@github.com>2020-05-21 15:18:49 +0300
commitff8d5364ad003e996ad40e55036ba8eeabbac76e (patch)
tree32b4716f59afd13f304b42472a6f01d0a8ea7a0c
parente57d44345c6ec533ed0e7002551c83953e6d1332 (diff)
Use title case for 'posts' translation (#338)
-rw-r--r--layouts/posts/list.html4
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" -}}