gohugo-theme-bree/layouts/_default/teaser.html
Serghei Iakovlev ad3c7d3167
Code cleanup
2022-07-17 19:36:33 +02:00

20 lines
557 B
HTML

<article class="post">
<header>
<h2 class="post-title">
<a href="{{ .Permalink }}" rel="bookmark">{{ .Title }}</a>
</h2>
<p class="post-meta">
{{- partial "post-meta/date.html" . -}}
</p>
</header>
<p class="post-content">
{{ .Summary }}
</p>
{{ if site.Params.readmore }}
{{ if .Truncated }}
<footer>
<a href="{{ .RelPermalink }}" class="read-more">{{ i18n "more" }}</a>
</footer>
{{ end }}
{{ end }}
</article>