commit e85e98e8db8d9214d9cdc4bcb38c8ac1ad5bbbb1
parent ff78efe39f4b4bf3da7bbb6051fcf415ccd73ba6
Author: oscarbenedito <oscar@obenedito.org>
Date: Fri, 18 Oct 2019 20:18:36 +0200
IndieWeb times fixed
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -29,7 +29,7 @@
{{ end }}
</section>
<footer>
- {{ with .Params.categories }}<a class="p-category" style="color: var(--secondary-text-color)" href="{{ "blog/categories/" | relURL }}{{ . | urlize }}">{{ . | title }}</a> · {{ end }}<data class="dt-published">{{ .Date.Format "January 2, 2006" }}</data> · {{ partial "read-time.html" . }}
+ {{ with .Params.categories }}<a class="p-category" style="color: var(--secondary-text-color)" href="{{ "blog/categories/" | relURL }}{{ . | urlize }}">{{ . | title }}</a> · {{ end }}<data class="dt-published" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</data> · {{ partial "read-time.html" . }}
</footer>
<a class="card-link u-url" href="{{ .RelPermalink }}"></a>
</div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -7,7 +7,7 @@
<article class="h-entry">
<header>
<h1 class="post-title p-name">{{ .Title }}</h1>
- <div class="post-meta">{{ with .Params.categories }}<a class="p-category" style="color: var(--secondary-text-color)" href="{{ "blog/categories/" | relURL }}{{ . | urlize }}">{{ . | title }}</a> · {{ end }}<data class="dt-published">{{ .Date.Format "January 2, 2006" }}</data>{{ if .Lastmod }} (last modified on <data class="dt-updated">{{ .Lastmod.Format "January 2, 2006" }}</data>){{ end }}
+ <div class="post-meta">{{ with .Params.categories }}<a class="p-category" style="color: var(--secondary-text-color)" href="{{ "blog/categories/" | relURL }}{{ . | urlize }}">{{ . | title }}</a> · {{ end }}<data class="dt-published" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</data>{{ if .Lastmod }} (last modified on <data class="dt-updated" datetime="{{ .Lastmod.Format "2006-01-02" }}">{{ .Lastmod.Format "January 2, 2006" }}</data>){{ end }}
</div>
</header>
<div class="post-content e-content">{{ .Content }}</div>