Explorar el Código

Localize post date (#492)

Jan hace 3 años
padre
commit
801208c664
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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">