vanilla-hugo/layouts/partials/post.html

13 lines
517 B
HTML
Raw Normal View History

<li>
<a href="{{ .Permalink }}" class="post-title">{{ if .Params.favorite }}{{ partial "icon.html" "star" }}{{ end }} {{ .Title }}</a>
2023-01-31 18:54:08 -08:00
{{ if (not (eq .WordCount 0)) }}
2023-01-01 01:28:18 -08:00
<p class="post-wordcount">{{ i18n "nWords" .WordCount }}, {{ i18n "nMinutesToRead" .ReadingTime }}.</p>
2023-01-31 18:54:08 -08:00
{{ end }}
{{ if .Params.status }}
<p class="post-status">
{{ partial "seriesstatus.html" .Params.status }}
</p>
{{ end }}
2023-01-01 01:28:18 -08:00
<p class="post-preview">{{ .Summary }} {{ if .Truncated }}. . .{{ end }}</p>
</li>