owl-blogs/embed/post.html

37 lines
843 B
HTML
Raw Permalink Normal View History

<div class="h-entry">
<hgroup>
<h1 class="p-name">{{.Title}}</h1>
<small>
Published:
<time class="dt-published" datetime="{{.Post.Meta.Date}}">
2022-09-11 15:34:50 +00:00
{{.Post.Meta.FormattedDate}}
</time>
2022-09-06 18:00:12 +00:00
<a class="u-url" href="{{.Post.FullUrl}}">#</a>
</small>
</hgroup>
<hr>
<br>
<div class="e-content">
{{.Content}}
</div>
2022-09-01 20:01:36 +00:00
<hr>
2022-09-10 11:44:25 +00:00
{{if .Post.ApprovedIncomingWebmentions}}
2022-09-01 20:01:36 +00:00
<h3>
Webmentions
</h3>
<ul>
2022-09-10 11:44:25 +00:00
{{range .Post.ApprovedIncomingWebmentions}}
2022-09-01 20:01:36 +00:00
<li>
<a href="{{.Source}}">
{{if .Title}}
{{.Title}}
{{else}}
{{.Source}}
{{end}}
</a>
</li>
{{end}}
</ul>
{{end}}
</div>