semantic-indieweb/layouts/_default/list.html

25 lines
659 B
HTML
Raw Permalink Normal View History

{{ define "title" }}
{{ .Title }} – {{ .Site.Title }}
{{ end }}
{{ define "content-header" }}
<h1>
<span class="p-name">{{ .Title }}</span>
<a rel="alternate" type="application/rss+xml" href="index.xml"><i class="fa fa-rss"></i></a>
</h1>
2019-11-20 00:16:20 +00:00
{{ end }}
{{ define "content" }}
{{ if .Content }}
<div class="list-content e-content">
{{ .Content }}
</div>
{{ end }}
{{ range $index, $page := (.Paginate (where .Pages ".Params.hidden" "!=" "true")).Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "summary" }}
{{ end }}
{{ end }}
{{ define "content-footer" }}
{{ partial "webmentions.html" . }}
{{ partial "paginator.html" .Paginator }}
{{ end }}