2020-04-11 19:28:48 +08:00
|
|
|
{{ define "main" }}
|
|
|
|
<div class="section">
|
|
|
|
<dev class="section-title">{{.Section}}</dev>
|
2020-05-15 02:01:28 +08:00
|
|
|
{{ range $index, $element := .Paginator.Pages }}
|
2020-04-11 19:28:48 +08:00
|
|
|
<div class="list-item">
|
|
|
|
<a class="entry-title" href="{{ .URL }}">{{ .Title }}</a>
|
|
|
|
{{$page := .}}
|
|
|
|
{{with .Description}}
|
|
|
|
<p>{{.}}</p>
|
|
|
|
{{end}}
|
|
|
|
<div class="meta">
|
|
|
|
{{with .Date}}
|
|
|
|
<i class="far fa-calendar-alt"></i> {{.Format "Jan 2 2006"}}
|
|
|
|
{{end}}
|
|
|
|
<br>
|
|
|
|
{{with .Params.tags}}
|
|
|
|
<i class="fas fa-tags"></i>
|
|
|
|
Tags: {{ delimit . ", " }}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2020-05-15 02:01:28 +08:00
|
|
|
{{ partial "pagination.html" $ }}
|
|
|
|
{{end}}
|