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

@@ -1,7 +1,7 @@
{{ $copyright := .Site.Copyright }}
{{ $copyright := site.Copyright }}
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
{{ $showlink := not .Site.Params.paige.hide_theme_link }}
{{ $showlink := not site.Params.paige.hide_theme_link }}
{{ if or $copyright $first $last $showlink }}
<footer>