Update list.html

This commit is contained in:
Руслан 2023-09-25 18:33:02 +06:00 committed by GitHub
parent 20d7d0b025
commit caa89cf120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
{{- range .Data.Pages -}} {{- range .Data.Pages -}}
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}} {{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
<li class="post"> <li class="post">
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><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 "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</span> <a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><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 "15:04" }} {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</span>
</li> </li>
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}