freyjaskiss.com/themes/mainroad/layouts/_default/summary.html

26 lines
759 B
HTML
Raw Normal View History

2023-08-30 23:00:53 +00:00
<article class="list__item post">
{{ partial "post_thumbnail.html" (dict "class" "list" "page" .) }}
<header class="list__header">
<h2 class="list__title post__title">
<a href="{{ .RelPermalink }}" rel="bookmark">
{{ .Title }}
</a>
</h2>
{{- with .Params.lead }}
<p class="list__lead post__lead">{{ . }}</p>
{{- end }}
{{ with partial "post_meta.html" . -}}
<div class="list__meta meta">{{ . }}</div>
{{- end }}
</header>
<div class="content list__excerpt post__content clearfix">
{{ .Summary }}
</div>
{{- if .Site.Params.readmore }}
{{- if .Truncated }}
<div class="list__footer clearfix">
<a class="list__footer-readmore btn" href="{{ .RelPermalink }}">{{ T "read_more" }}</a>
</div>
{{- end }}
{{- end }}
</article>