commit 2e0a3da4d38b8b38c21b0b8f3d42030557b6ad51
parent 46b57cfa9a8eed67940a0df8751166a88986e5a7
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 5 Jan 2020 18:54:40 -0600
Remove time tags
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -6,7 +6,7 @@
{{ $pages = (first 5 (where .Site.RegularPages "Section" "!=" "")) }}
{{ end }}
{{ range $pages }}
- <li><time>{{ .Date.Format "2006-01-02" }}</time> <a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ <li>{{ .Date.Format "2006-01-02" }} <a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</nav>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
@@ -11,6 +11,6 @@
| <a href="{{ .Permalink | relURL }}">{{ .Language.LanguageName }}</a>
{{- end -}}<br/>
{{- if not .IsNode -}}{{- with .Date -}}
- <time datetime={{ .Format "2006-01-02" }}>{{ .Format "2006-01-02" }}</time>
+ {{ .Format "2006-01-02" }}
{{- end -}}{{- end -}}
</nav>