semantic-indieweb/layouts/_default/summary.html

20 lines
604 B
HTML

<article class="h-entry">
<header>
<h2 class="p-name u-url"><a href='{{ .Permalink }}'>{{ .Title }}</a> </h2>
<p>
Published on
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "January 2, 2006" }}</time>
&ndash; {{ .FuzzyWordCount }} Words
</p>
</header>
<section class="p-summary">
{{ .Summary }}
</section>
{{- if .Truncated }}
<footer>
<a href='{{ .Permalink }}'>
<span style="white-space: nowrap;">Read more →</span>
</a>
</footer>
{{- end }}
</article>