Move markdownify to decls

master
Will Faught 12 months ago
parent bc9e46d544
commit 1cc634b02e

@ -2,14 +2,14 @@
{{ $ancestors := $page.Ancestors }} {{ $ancestors := $page.Ancestors }}
{{ $basepath := path.Clean (urls.Parse (relLangURL "")).Path }} {{ $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" }} {{ $first := templates.Exists "partials/paige/header-first.html" }}
{{ $last := templates.Exists "partials/paige/header-last.html" }} {{ $last := templates.Exists "partials/paige/header-last.html" }}
{{ $links := false }} {{ $links := false }}
{{ $menu := site.Menus.main }} {{ $menu := site.Menus.main }}
{{ $pills := false }} {{ $pills := false }}
{{ $tabs := false }} {{ $tabs := false }}
{{ $title := $page.Param "paige.site_title" }} {{ $title := $page.Param "paige.site_title" | markdownify }}
{{ $underline := false }} {{ $underline := false }}
{{ if eq $basepath "/" }} {{ if eq $basepath "/" }}
@ -39,11 +39,11 @@
{{ end }} {{ end }}
{{ with $title }} {{ with $title }}
<p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . | markdownify }}</p> <p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . }}</p>
{{ end }} {{ end }}
{{ with $description }} {{ with $description }}
<p class="lead text-center" id="paige-site-description">{{ . | markdownify }}</p> <p class="lead text-center" id="paige-site-description">{{ . }}</p>
{{ end }} {{ end }}
{{ with $menu }} {{ with $menu }}

Loading…
Cancel
Save