diff --git a/README.md b/README.md index dc07e53f..0075d0c3 100644 --- a/README.md +++ b/README.md @@ -390,6 +390,7 @@ authors: link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title paige: alert: "Alert!" # Markdown displayed before the page body (defaults to primary alert type) + pin: true # Display this page before the rest paige: alert: message: "Alert!" # Markdown displayed before the page body diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index c2b697da..4f492b34 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -2,13 +2,13 @@ {{ if $page.Pages }} {{ if $page.Param "paige.section_pages.full_pages" }} - {{ $p := $page.Paginate $page.Pages }} + {{ $pager := $page.Paginate $page.Pages }}
{{ .Key }}
{{ range .Pages }} {{ partial "paige/page.html" . }} {{ end }} {{ end }}