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