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

14 lines
422 B
HTML
Raw Normal View History

2023-02-20 22:37:42 -05:00
<article>
<h1><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 href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
<div>
2023-10-14 12:05:15 -04:00
{{ .Summary | safeHTML | truncate 125 }}
2023-02-20 22:37:42 -05:00
{{ if .Truncated }}
<a href="{{ .Permalink }}">Read more...</a>
{{ end }}
</div>
</article>