Improve section pages
parent
c973d4c930
commit
a01c1642f0
|
@ -1,10 +1,10 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{ with .Content }}
|
||||
{{- . -}}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq (len .Content) 0 }}
|
||||
{{ if ne (len .Content) 0 }}
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<div id="content">
|
||||
|
||||
{{ range sort .Paginator.Pages }}
|
||||
|
@ -33,5 +33,3 @@
|
|||
{{ end }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue