From 1cc634b02ebb44d93ac397b981eb8bbee8d965b4 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 12 Jul 2024 18:11:20 -0700 Subject: [PATCH] Move markdownify to decls --- layouts/partials/paige/site-header.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/paige/site-header.html b/layouts/partials/paige/site-header.html index b55f5289..61e48737 100644 --- a/layouts/partials/paige/site-header.html +++ b/layouts/partials/paige/site-header.html @@ -2,14 +2,14 @@ {{ $ancestors := $page.Ancestors }} {{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }} -{{ $description := $page.Param "paige.site_description" }} +{{ $description := $page.Param "paige.site_description" | markdownify }} {{ $first := templates.Exists "partials/paige/header-first.html" }} {{ $last := templates.Exists "partials/paige/header-last.html" }} {{ $links := false }} {{ $menu := site.Menus.main }} {{ $pills := false }} {{ $tabs := false }} -{{ $title := $page.Param "paige.site_title" }} +{{ $title := $page.Param "paige.site_title" | markdownify }} {{ $underline := false }} {{ if eq $basepath "/" }} @@ -39,11 +39,11 @@ {{ end }} {{ with $title }} -

{{ . | markdownify }}

+

{{ . }}

{{ end }} {{ with $description }} -

{{ . | markdownify }}

+

{{ . }}

{{ end }} {{ with $menu }}