Rename paige.feeds.exclude to paige.exclude_feeds

master
Will Faught 5 months ago
parent 56225eabc8
commit dccc7ef7a1

@ -178,6 +178,7 @@ credit = '<a class="link-secondary text-decoration-none" href="https://github.co
date_format = ":date_long" # Hugo date format date_format = ":date_long" # Hugo date format
description = "" # Site description. Appears above the menu, below the site title, if set. description = "" # Site description. Appears above the menu, below the site title, if set.
edit = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s". edit = "" # File edit URL. Example: "https://github.com/account/project/edit/master/content/%s".
exclude_feeds = false # Exclude this page from feeds
exclude_search = false # Exclude the page from search exclude_search = false # Exclude the page from search
external_link_new_tab = false # Open external links in new tabs external_link_new_tab = false # Open external links in new tabs
history = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s". history = "" # File history URL. Example: "https://github.com/account/project/commits/master/content/%s".
@ -192,7 +193,6 @@ message = "Alert!" # Markdown displayed before the page body
type = "primary" # Bootstrap alert class type = "primary" # Bootstrap alert class
[paige.feeds] [paige.feeds]
exclude = false # Exclude this page from feeds
link_to_page = false # Link to the page instead of the front matter link, if present link_to_page = false # Link to the page instead of the front matter link, if present
page_link = "⏎" # If a front matter link is present, and link_to_page is false, then link to the page with this text page_link = "⏎" # If a front matter link is present, and link_to_page is false, then link to the page with this text

@ -13,7 +13,7 @@
{{ $updated := site.Lastmod.Format $format }} {{ $updated := site.Lastmod.Format $format }}
{{ range $page.RegularPagesRecursive.ByPublishDate.Reverse }} {{ range $page.RegularPagesRecursive.ByPublishDate.Reverse }}
{{ if not (.Param "paige.feeds.exclude") }} {{ if not (.Param "paige.exclude_feeds") }}
{{ $subpages = $subpages | append . }} {{ $subpages = $subpages | append . }}
{{ end }} {{ end }}
{{ end }} {{ end }}

@ -16,7 +16,7 @@
{{ $build = .Lastmod }} {{ $build = .Lastmod }}
{{ end }} {{ end }}
{{ if not (.Param "paige.feeds.exclude") }} {{ if not (.Param "paige.exclude_feeds") }}
{{ $subpages = $subpages | append . }} {{ $subpages = $subpages | append . }}
{{ end }} {{ end }}
{{ end }} {{ end }}

Loading…
Cancel
Save