trwnh.com/unified.test.hugo/layouts/partials/mf2/h-entry.html

13 lines
615 B
HTML
Raw Normal View History

2024-10-18 07:33:33 +00:00
<article class="feed-item h-entry hentry">
<h2 class="feed-item__title p-name"><a href="{{.Permalink}}" class="u-url">{{or .Title "[untitled post]"}}</a></h2>
<p style="display: contents"><span style="display: none">Published on </span><span class="feed-item__date">{{ partial "mf2/dt-published.html" . }}</span></p>
{{- range .Params.inReplyTo }}
{{- with . }}
2024-11-13 17:24:48 +00:00
{{ partial "components/in-reply-to-prepend.html" . }}
2024-10-18 07:33:33 +00:00
{{- end }}
{{- end }}
<section class="feed-item__summary e-summary">
{{.Summary}}
</section>
<p class="feed-item__readmore"><a href="{{ .Permalink }}" class="u-url">View full entry</a></p>
</article>