jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/_default/list.html

26 lines
611 B
HTML

{{ define "main" }}
<main class="main list h-feed">
<header class="main-header">
{{ with .Title }}
<h1 class="main-title">{{ . }}</h1>
{{ end }}
{{ if not .Params.nometa }}
{{ with partial "list_meta" . }}
<div class="post-meta">{{ . }}</div>
{{ end }}
{{ end }}
</header>
{{- with .Content }}
<div class="main-content">
{{ . }}
</div>
{{- end }}
{{- if ne (.Param "hideList") true }}
{{- range .Paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
{{- end }}
{{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
</main>
{{ partial "pagination" . }}
{{ end }}