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

github.com/tosi29/inkblotty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortosi29 <tosi16@gmail.com>2019-05-26 09:07:13 +0300
committertosi29 <tosi16@gmail.com>2019-05-26 09:07:13 +0300
commite50bc9bde107ddb54eaac44f8eb892189a24509e (patch)
tree6d3d4c5d5f8894ba5aa6cf3c6ba8d01bba0b5775
parent576f502ed636b8c54785d0464dc1aba94adec6b6 (diff)
Fix last modified format
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/_default/summary.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index d591186..1fa43c8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -10,7 +10,7 @@
</a>
{{- if ne .Date .Lastmod }}
<a rel="bookmark">
- <time datetime="{{ .Lastmod.Format "2006-01-02T12:34:56" }}">(Last Modified: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}})</time>
+ <time datetime="{{ .Lastmod.Format "2006-01-02T12:34:56" }}">(Last Modified: {{.Lastmod.Format ( .Site.Params.dateformat | default "2006-01-02")}})</time>
</a>
{{- end }}
{{ partial "share.html" . }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 33a780c..15133d7 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -16,7 +16,7 @@
</a>
{{- if ne .Date .Lastmod }}
<a rel="bookmark">
- <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}">(Last Modified: {{.Lastmod.Format ( .Site.Params.dateformat | default "January 02, 2006")}})</time>
+ <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05" }}">(Last Modified: {{.Lastmod.Format ( .Site.Params.dateformat | default "2006-01-02" )}})</time>
</a>
{{- end }}
</div>