Browse Source

Localize post date (#492)

Jan 3 năm trước cách đây
mục cha
commit
801208c664
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      layouts/_default/single.html

+ 1 - 1
layouts/_default/single.html

@@ -48,7 +48,7 @@
         <div class="author-profile ml-auto align-self-lg-center">
           <img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}' alt="Author Image">
           <h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
-          <p>{{ .Page.Date.Format "January 2, 2006" }}</p>
+          <p>{{ .Page.Date | time.Format ":date_full" }}</p>
         </div>
 
         <div class="title">