From cabdffa8ac38c9ad4c0aba8716e8bd4bdaa0b57b Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Tue, 10 Dec 2019 07:17:15 +0100 Subject: [PATCH] page: deactivate pagination * NEW Sets `paginate` to zero. * NEW Removes `.Paginator` from the section layout. Co-Authored-by: Igor Milhit --- layouts/_default/section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 324e260..8e2b7c8 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -4,7 +4,7 @@ {{.Content }} - {{ range .Paginator.Pages }} + {{ range .Pages }}