{{ $filteredPages := .Site.RegularPages }}
    {{ range .Site.Params.notAllowedTypesInArchive }}
      {{ $filteredPages = (where $filteredPages "Type" "!=" (lower .)) }}
    {{ end }}
    {{ $paginator := .Paginate ($filteredPages.GroupByDate (.Site.Params.archiveGroupByDate | default "2006")) .Site.Params.archivePaginate }}
    
    {{ range ($paginator).PageGroups }}
    
{{ .Key }}
    
      {{ range .Pages }}
      - 
        
          {{ .Type }}
          {{ .Date.Format (i18n "archive-dateformat") }}
        
        {{ .Title }}        
      
 
      {{ end }}
    
    {{ end }}    
  
 
  
  {{ partial "pagination/pagination" . }}
  
    {{ partial "search/site-search" . }}
  
  {{ partial "script/archive-script" . }}
{{ end }}