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,6 +1,6 @@
{{ $first := templates.Exists "partials/paige/header-first.html" }}
{{ $last := templates.Exists "partials/paige/header-last.html" }}
{{ $menu := .Site.Menus.main }}
{{ $menu := site.Menus.main }}
{{ if or $first $last $menu }}
<header>