first!
This commit is contained in:
commit
cf7a27bfa1
225 changed files with 3580 additions and 0 deletions
17
layouts/_default/list.html
Normal file
17
layouts/_default/list.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
<!-- {{ with .Title }}<h2>{{ . }}</h2>{{ end }} -->
|
||||
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ $paginator := .Paginate .RegularPagesRecursive }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
<!-- {{ partial "sidebar.html" . }} -->
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue