owl-blogs/embed/post-list.html

25 lines
812 B
HTML
Raw Permalink 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"}}
2022-12-01 18:46:31 +00:00
<h6><a class="u-url" href="{{.UrlPath}}">
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
</a></h6>
2022-12-01 18:43:59 +00:00
<p>{{.RenderedContent | noescape}}</p>
2022-12-01 18:32:49 +00:00
{{ else }}
<h3><a class="u-url" href="{{.UrlPath}}">
2022-12-01 18:46:31 +00:00
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
2022-12-01 18:32:49 +00:00
</a></h3>
{{ end }}
2022-12-01 19:00:42 +00:00
<small style="font-size: 0.75em;">
2022-12-01 18:32:49 +00:00
Published:
<time class="dt-published" datetime="{{.Meta.Date}}">
{{.Meta.FormattedDate}}
</time>
</small>
</hgroup>
</div>
<hr>
{{end}}
</div>