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

github.com/nanxstats/hugo-tanka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a928e0b..aa8b777 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,7 +4,7 @@
<h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1>
<div id=sub-header>
- {{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read
+ {{ .Date.Format (.Site.Params.dateform | default "2006/01/02") }} · {{ .ReadingTime }} minute read
</div>
<div class="entry-content">
diff --git a/layouts/index.html b/layouts/index.html
index 7a54e3b..349f633 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,7 @@
<li>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div id=date>
- <time>{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}</time>
+ <time>{{ .Date.Format (.Site.Params.dateform | default "2006/01/02") }}</time>
</div>
</li>
{{ end }}