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

13 lines
No EOL
602 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 "mf2/u-in-reply-to.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>