27 lines
No EOL
1.1 KiB
HTML
27 lines
No EOL
1.1 KiB
HTML
<header class="feed-header section">
|
|
<div class="container">
|
|
<h1 class="feed-title p-name">{{.Title}}</h1>
|
|
{{ with .Summary }}<p class="feed-summary p-summary">{{ . }}</p>{{ end }}
|
|
{{- with (index .Site.Data.people "trwnh.com").a }}{{/* TODO: make author a variable instead of assuming it's always me */}}
|
|
<p class="feed-author">
|
|
{{- partial "components/author-card.html" . }}
|
|
</p>
|
|
{{ end -}}{{/* end with author h-card */ -}}
|
|
<div class="feed-content e-content hugo-content">
|
|
{{- .Content }}
|
|
</div>
|
|
{{- with .Params.tag_aliases }}
|
|
<p class="tag-aliases">Also known as: {{ range $k, $v := . }}
|
|
{{- $alias_page := $.GetPage (printf "%s/%s" $.Type .) }}
|
|
{{- with $alias_page }}
|
|
{{- if $k }}, {{ end -}}
|
|
<a class="tag-alias" property="https://www.w3.org/ns/activitystreams#alsoKnownAs" href="{{.Permalink}}">{{or .Params.tag_name .Name}}</a>
|
|
{{- end }}
|
|
{{- end }}</p>
|
|
{{- end }}
|
|
<a href="#items" class="skip-to-items">Skip to the feed items</a>
|
|
<p class="list-permalink">h-feed URL: <a href="{{.Permalink}}" rel="self" class="u-url">{{.Permalink}}</a></p>
|
|
{{ partial "components/alt-formats.html" . }}
|
|
<hr>
|
|
</div>
|
|
</header> |