valor/layouts/partials/post.html

16 lines
570 B
HTML
Raw Normal View History

<div class="post">
2023-05-11 03:23:20 -04:00
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
</a>
2024-02-29 10:43:29 -05:00
<p>{{if .Date}}<strong>{{.Date | time.Format "Jan 02 2006"}}</strong>{{end}}</p>
<p style="text-align: left;">{{.Summary}}</p>
2023-05-11 03:23:20 -04:00
{{ if .GetTerms "tags" }}
<div class="post-tags">
{{range .GetTerms "tags" }}
<a href="{{.Permalink}}" class="tag"><svg class='icon'>
<use href="#tag"></use>
</svg><span>{{.LinkTitle}}</span></a>
{{end}}
</div>
2023-03-06 19:41:36 -05:00
{{end}}
</div>