owl-blogs/embed/post-list.html

22 lines
620 B
HTML
Raw Normal View History

<div class="h-feed">
2022-12-01 18:32:49 +00:00
{{range .}}
<div class="h-entry">
<hgroup>
{{ if eq .Meta.Type "note"}}
<p>{{.RenderedContent}}</p>
{{ else }}
<h3><a class="u-url" href="{{.UrlPath}}">
{{ if .Title }}{{.Title}}{{ else }}{{.Id}}{{ end }}
</a></h3>
{{ end }}
<small>
Published:
<time class="dt-published" datetime="{{.Meta.Date}}">
{{.Meta.FormattedDate}}
</time>
</small>
</hgroup>
</div>
<hr>
{{end}}
</div>