ccchh-website/themes/ccchh/layouts/_default/summary.html
2023-10-29 22:52:32 +01:00

14 lines
350 B
HTML

<article>
{{- partial "blog-header.html" (dict "headingLink" true "level" 2 "page" . ) }}
{{- if in .RawContent "<!--more-->" }}
{{ .Summary | safeHTML }}
{{- else }}
<p>{{ .Summary | safeHTML }}</p>
{{- end }}
{{- if .Truncated }}
<div class="morelink"><a href="{{ .RelPermalink }}">mehr...</a></div>
{{- end }}
</article>