From ff8d5364ad003e996ad40e55036ba8eeabbac76e Mon Sep 17 00:00:00 2001
From: Latiif alSharif <latiif@mail.com>
Date: Thu, 21 May 2020 12:18:49 +0000
Subject: [PATCH] Use title case for 'posts' translation (#338)
---
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" -}}
--
Gitblit v1.10.0