date fix (still trying)

This commit is contained in:
fruworg 2023-07-30 23:13:00 +05:00
parent 14b59c4f94
commit ba1f7f963c

View File

@ -16,7 +16,7 @@
{{ range $paginator.Pages }}
<section class="list-item">
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
<time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.Months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format .Site.Data.Formats.time }} {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
<time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format .Site.Data.Formats.time }} {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
<br>{{ template "partials/pagedescription.html" . }}
</section>
{{ end }}