blog/layouts/partials/list.html

26 lines
798 B
HTML
Raw Normal View History

<article>
2024-11-20 03:20:47 +03:00
<header>
<div class="row between-sm">
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
{{ if .Date }}
<span>
{{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}
</span>
{{ end }}
</div>
</header>
2024-11-28 00:46:17 +03:00
{{ if .Params.Image }}
<img src="{{ .RelPermalink }}{{.Params.Image}}" />
{{ end }}
{{ if .Description }}
{{ .Description }}
{{ else }}
{{ .Summary }}
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">Далее...</a>
{{ end }}
{{ end }}
<footer>
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
</footer>
</article>