hugo-theme-zirakzigil/layouts/_default/summary.html

14 lines
553 B
HTML

<article class="card-body">
<h1 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format "02.01.2006 15:04" }}</time>
{{ range .Params.tags }}
<a class="badge badge-outline" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
<div class="card-actions justify-end">
{{ .Summary | safeHTML | truncate 125 }}
{{ if .Truncated }}
<a class="btn btn-outline self-end" href="{{ .Permalink }}">Read more...</a>
{{ end }}
</div>
</article>