trwnh.com/unified.test.hugo/layouts/partials/mf2/h-entry.html
2024-11-13 11:24:48 -06:00

13 lines
No EOL
615 B
HTML

<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 . }}
{{ partial "components/in-reply-to-prepend.html" . }}
{{- 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>