Fucking hugo

This commit is contained in:
Madison Scott-Clary
2019-09-06 17:26:30 -07:00
parent 5f2e065605
commit d48768b361

View File

@ -1,6 +1,6 @@
{{ define "main" }} {{ define "main" }}
<div class="content wrapper"> <div class="content wrapper">
{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 6 }} {{ $paginator := .Paginate (where .Site.Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 6 }}
{{ if eq $paginator.PageNumber 1 }} {{ if eq $paginator.PageNumber 1 }}
{{ .Content }} {{ .Content }}
{{ end }} {{ end }}