Convert home default layout into paige/home layout

This commit is contained in:
Will Faught
2023-02-21 20:52:13 -08:00
parent 80abfc9189
commit ae540b9b7f
7 changed files with 324 additions and 148 deletions

View File

@@ -1,6 +1,14 @@
{{ $page := . }}
{{ $params := . }}
{{ with $page.Param "paige.social" }}
{{ $key := slice "paige" "social" }}
{{ $page := $params }}
{{ if reflect.IsMap $params }}
{{ $key = $params.key | default $key }}
{{ $page = $params.page }}
{{ end }}
{{ with index $page.Params $key }}
<section>
<nav>
<div class="mb-3 text-center">