Checkpoint
This commit is contained in:
12
themes/maddybook/layouts/limerent-object/list.html
Normal file
12
themes/maddybook/layouts/limerent-object/list.html
Normal file
@ -0,0 +1,12 @@
|
||||
{{ define "main" }}
|
||||
{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 1 }}
|
||||
{{ $content := .Content }}
|
||||
{{ range $paginator.Pages.ByWeight }}
|
||||
<main id="main"{{ if (isset .Params "fit" )}} class="fit"{{ end }}>
|
||||
asdf
|
||||
{{ $content }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user