Add underscores to parameters

This commit is contained in:
Will Faught
2022-12-15 20:03:50 -08:00
parent bc708f24f8
commit df5ec6296e
11 changed files with 24 additions and 24 deletions

View File

@@ -21,6 +21,6 @@
{{ end }}
</body>
</html>
{{ if not .Site.Params.paigehidethemecomment }}
{{ if not .Site.Params.paige_hide_theme_comment }}
{{ printf "<!-- Paige theme from https://github.com/willfaught/paige -->" | safeHTML }}
{{ end }}

View File

@@ -1,5 +1,5 @@
{{- $.Scratch.Add "index" slice -}}
{{- range where .Site.Pages "Params.paigehidesearch" "ne" true -}}
{{- range where .Site.Pages "Params.paige_hide_search" "ne" true -}}
{{- $title := .Title | markdownify | plainify | htmlUnescape -}}
{{- if and (not $title) .IsHome }}
{{- $title = site.Title }}

View File

@@ -12,7 +12,7 @@
{{ if ge $limit 1 }}
{{ $pages = $pages | first $limit }}
{{ end }}
{{ $pages = where $pages "Params.paigehiderss" "ne" true }}
{{ $pages = where $pages "Params.paige_hide_rss" "ne" true }}
{{ $title := partial "paige-titles.html" . }}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">