owl-blogs/embed/post.html

41 lines
1.0 KiB
HTML
Raw 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-10-07 17:51:13 +00:00
{{ if .Post.User.Config.AuthorName }}
by
<a class="p-author h-card" href="{{.Post.User.FullUrl}}">{{.Post.User.Config.AuthorName}}</a>
{{ end }}
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>