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
Raw Normal View History

2019-09-03 15:50:00 +00:00
{{ define "main" }}
2020-04-15 18:41:03 +00:00
<main class="main list h-feed">
2019-09-03 15:50:00 +00:00
<header class="main-header">
2020-03-21 10:27:28 +00:00
{{ with .Title }}
2019-09-03 15:50:00 +00:00
<h1 class="main-title">{{ . }}</h1>
2020-03-21 10:27:28 +00:00
{{ end }}
{{ if not .Params.nometa }}
2020-04-20 18:12:21 +00:00
{{ with partial "list_meta" . }}
2020-03-21 10:27:28 +00:00
<div class="post-meta">{{ . }}</div>
{{ end }}
{{ end }}
2019-09-03 15:50:00 +00:00
</header>
{{- with .Content }}
<div class="main-content">
{{ . }}
</div>
{{- end }}
2019-11-02 21:23:37 +00:00
{{- if ne (.Param "hideList") true }}
2019-09-03 15:50:00 +00:00
{{- range .Paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
2019-11-02 21:23:37 +00:00
{{- end }}
{{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
2019-09-03 15:50:00 +00:00
</main>
2020-02-16 20:56:58 +00:00
{{ partial "pagination" . }}
2019-09-03 15:50:00 +00:00
{{ end }}