-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsection.html
More file actions
32 lines (32 loc) · 963 Bytes
/
section.html
File metadata and controls
32 lines (32 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<section class="content-padding">
{{ with partial "_decorators/content-container.html" . }}
{{ if .Content }}
{{ .Content }}
{{ else }}
{{ range .Pages }}
{{- if .Params.Author -}}
{{- errorf "Page %q uses deprecated 'author' field. Please use 'authors' instead." .File.Path -}}
{{- end -}}
<div class="post-list">
<article>
<div class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
<div class="post-authors">
{{- range .Params.Authors -}}
<div class="post-author">{{ . }}</div>
{{- end -}}
</div>
{{ if .Date }}
<div class="post-date">{{.Date.Format "January 2, 2006"}}</div>
{{ end }}
<div class="post-summary">{{ .Summary }}</div>
</article>
</div>
{{ end }}
{{ end }}
{{ end }}
<div id="shortcuts-container">
<div id="shortcuts">
<div id="shortcuts-header"><i class="fa-solid fa-list"></i> On this page</div>
</div>
</div>
</section>