mirror of
https://github.com/Speyll/anemone.git
synced 2024-11-22 13:06:41 +00:00
12 lines
No EOL
463 B
HTML
12 lines
No EOL
463 B
HTML
<ul>
|
|
{{- range .Site.RegularPages.ByPublishDate.Reverse | first 5 -}}
|
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
|
<li>
|
|
<time class="readData metaData">{{ dateFormat "02, 01 2006" .Date }}</time>
|
|
<a href="{{ .RelPermalink }}">{{.Title}}</a>
|
|
<span class="readData">» {{ .ReadingTime }} min read.</span>
|
|
{{ if .Draft }} <span class="metaData">» draft</span> {{ end }}
|
|
</li>
|
|
{{- end -}}
|
|
{{- end -}}
|
|
</ul> |