mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Use title case for 'posts' translation (#338)
This commit is contained in:
@@ -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" -}}
|
||||
|
||||
Reference in New Issue
Block a user