Use site instead of .Site

This commit is contained in:
Will Faught
2023-01-29 10:45:03 -08:00
parent a6667e6c41
commit 548af63634
9 changed files with 58 additions and 58 deletions

View File

@@ -30,13 +30,13 @@ section[class="paige-content"] > blockquote p:last-of-type {
margin-bottom: 0;
}
{{ with .Site.Params.paige.content_max_width }}
{{ with site.Params.paige.content_max_width }}
section[class="paige-content"], section[class="paige-toc"] {
max-width: {{ . }};
}
{{ end }}
{{ with .Site.Params.paige.metadata_max_width }}
{{ with site.Params.paige.metadata_max_width }}
section[class="paige-metadata"] {
max-width: {{ . }};
}
@@ -74,7 +74,7 @@ section[class="paige-content"] > blockquote p:last-of-type {
opacity: 1;
}
{{ with .Site.Params.paige.color_scheme }}
{{ with site.Params.paige.color_scheme }}
{{ if eq . "dark" }}
{{ partial "paige/dark.css" . | safeCSS }}
{{ else if eq . "light" }}