Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonak J Vanpariya <vanpariyar@gmail.com>2020-06-10 18:22:53 +0300
committerGitHub <noreply@github.com>2020-06-10 18:22:53 +0300
commitd40e2bc68ae28a3d87fbdd21b8dd13937d6a9ff6 (patch)
tree62c6881d618b005aabe78969c2b74fbe05db0a7c
parent9b561147a0cb8ab3c6a79931fe1dd30ab15585af (diff)
Changes in date format
Generates the wrong date
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 0c66d63..f8ae0f8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -36,7 +36,7 @@
<figure class="wp-block-image alignfull size-full"><img src="{{ .Params.Image |absURL }}"
alt="{{.Title }}" class="wp-image-37" /></figure>
<h3>{{ .Title }}</h3>
- <p>{{ .PublishDate.Format "January 06, 2006"}}</p>
+ <p>{{ .PublishDate.Format "January 6, 2006"}}</p>
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link"
href="{{ .Permalink }}">Read More</a></div>
</div>
@@ -99,4 +99,4 @@
</div><!-- .post-inner -->
</article>
-{{ end }} \ No newline at end of file
+{{ end }}