abdullahtarawneh.com/layouts/partials/list/h-entry.summary.html

20 lines
No EOL
1,015 B
HTML

<article class="h-entry">
<a href="{{.Permalink}}" class="u-url u-uid">
<h1 class="p-name">{{ .Title }}</h1>
</a>
<p class="p-summary">{{ .Summary }}</p>
<p>
{{ .WordCount }} words posted on
<time class="dt-published published" datetime="{{ .Date.Format " 2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format "2006 January 02" }}
</time> {{with .Params.updated -}}
(updated on <time class="dt-updated updated" datetime="{{ .Lastmod.Format " 2006-01-02T15:04:05-07:00" }}">
{{ .Date.Format "2006 January 02" }}
</time>) {{ end -}}
{{ with .GetTerms "authors" }}
by
{{ range $k, $v := . }}{{- if $k }}, {{ end }}<span class="h-card vcard p-author"><a class="u-url url p-name fn" href="{{ .Permalink }}" rel="author">{{.Title}}</a></span>{{ end }}{{ end }}
{{ with .GetTerms "categories" }}into {{ range $k, $v := . }}{{- if $k }}, {{ end }}<a href="{{ .Permalink }}" rel="category" class="p-category">{{ .Title }}</a>{{ end }}{{ end }}
</p>
{{ partial "page/tags-list.html" . }}
</article>