17 lines
544 B
HTML
17 lines
544 B
HTML
{{ define "main" }}
|
|
{{ if .Content }}
|
|
{{ partial "list_content.html" . }}
|
|
{{ end }}
|
|
{{- range $i,$p := .Paginator.Pages -}}
|
|
<div class="w-full notice-box notice-info my-5">
|
|
<a href="{{ .Permalink }}" class="text-center">
|
|
<h2 class="notice-title">{{ .Title }}</h2>
|
|
</a>
|
|
{{ if .Params.description }}
|
|
<div class="m-2">{{ .Params.description }}</div>
|
|
{{ end }}
|
|
</div>
|
|
{{- end -}}
|
|
{{ partial "paginator.html" . }}
|
|
{{ end }}
|