Use site instead of .Site
This commit is contained in:
@@ -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" }}
|
||||
|
Reference in New Issue
Block a user