+
+ {{ $filteredPages := .Site.RegularPages }}
+ {{ range $.Param "notAllowedTypesInArchive" }}
+ {{ $filteredPages = (where $filteredPages "Type" "!=" (lower .)) }}
{{ end }}
-
- {{ end }}
-
-
- {{ partial "pagination/pagination" . }}
-
- {{ partial "search/site-search" . }}
-
- {{ partial "script/archive-script" . }}
-
-{{ end }}
\ No newline at end of file
+
+ {{ $paginator := .Paginate ($filteredPages.GroupByDate ($.Param "archiveGroupByDate" | default "2006")) ($.Param "archivePaginate") }}
+
+ {{ if $paginator }}
+ {{ range ($paginator).PageGroups }}
+