commit c10ef38b9dbcc8c15a5161d49eb242a97718de54
parent 35f4cc6c8692773579ba8b749603c24498663046
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 5 Jan 2020 17:26:17 -0600
Add time tag
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -7,7 +7,7 @@
{{ $pages = (first 5 (where .Site.RegularPages "Section" "!=" "")) }}
{{ end }}
{{ range $pages }}
- <li>{{ .Date.Format "2006-01-02" }} <a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ <li><time>{{ .Date.Format "2006-01-02" }}</time> <a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</article>