semantic-indieweb/layouts/_default/summary.html

20 lines
632 B
HTML
Raw Permalink Normal View History

<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 or .Truncated (gt .FuzzyWordCount 100) }}
<footer>
<a href='{{ .Permalink }}'>
<span style="white-space: nowrap;">Read more →</span>
</a>
</footer>
{{- end }}
</article>