mirror of https://github.com/luizdepra/hugo-coder.git

Latiif alSharif
21.18.2020 ff8d5364ad003e996ad40e55036ba8eeabbac76e
Use title case for 'posts' translation (#338)

1 files modified
4 ■■■■ changed files
layouts/posts/list.html 4 ●●●● patch | view | raw | blame | history
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" -}}