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

14 lines
553 B
HTML
Raw Permalink Normal View History

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