소스 검색

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

Latiif alSharif 5 년 전
부모
커밋
ff8d5364ad
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      layouts/posts/list.html

+ 2 - 2
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" -}}