hugo-theme-anubis2/layouts/partials/postSummary.html

16 lines
556 B
HTML
Raw Normal View History

2020-06-06 21:05:21 +02:00
<article class="post-list">
2020-06-21 22:23:07 +02:00
<header class="post-header">
2020-06-21 22:02:58 +02:00
<h1 class="post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h1>
2020-06-06 21:05:21 +02:00
</header>
<div class="content post-summary">
{{ .Summary | safeHTML }}
</div>
<!-- {{ if .Truncated }}
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }} -->
{{ partial "postInfo.html" . }}
2020-06-06 21:05:21 +02:00
</article>