Updates to support 0.57.2
This commit is contained in:
parent
1f72de06f2
commit
2fa06ec88b
6 changed files with 15 additions and 9 deletions
|
@ -1,4 +1,10 @@
|
|||
{{ $paginator := .Paginate (where .Data.Pages "Type" "!=" "page") }}
|
||||
|
||||
{{ $pages := .Pages }}
|
||||
{{ if .IsHome }}
|
||||
{{ $pages = .Site.RegularPages }}
|
||||
{{ end }}
|
||||
{{ $paginator := .Paginate $pages }}
|
||||
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ $url := replace .Permalink .Site.BaseURL "" }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue