Use title case for 'posts' translation (#338)

This commit is contained in:
Latiif alSharif
2020-05-21 14:18:49 +02:00
committed by GitHub
parent e57d44345c
commit ff8d5364ad

View File

@@ -1,9 +1,9 @@
{{ define "title" }} {{ define "title" }}
{{ i18n (lower .Title) | default .Title }} · {{ .Site.Title }} {{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
<section class="container list"> <section class="container list">
<h1 class="title"> {{ i18n (lower .Title) | default .Title }} </h1> <h1 class="title"> {{ title (i18n (lower .Title)) | default .Title }} </h1>
<ul> <ul>
{{- range .Paginator.Pages -}} {{- range .Paginator.Pages -}}
{{- .Render "li" -}} {{- .Render "li" -}}