diff --git a/layouts/partials/paige/alert.html b/layouts/partials/paige/alert.html deleted file mode 100644 index 9d8edd66..00000000 --- a/layouts/partials/paige/alert.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.alert" }} - -{{ end }} diff --git a/layouts/partials/paige/page-header.html b/layouts/partials/paige/page-header.html index 18ae6008..157ceb19 100644 --- a/layouts/partials/paige/page-header.html +++ b/layouts/partials/paige/page-header.html @@ -1,7 +1,10 @@ {{ $page := . }} {{ partial "paige/page-metadata.html" $page }} -{{ partial "paige/alert.html" $page }} + +{{ with $page.Param "paige.alert" }} + +{{ end }} {{ if and $page.Content (ne $page.TableOfContents ``) }}