Move paige_show_full_pages logic to list layout

This commit is contained in:
Will Faught
2022-12-16 16:07:09 -08:00
parent 607b57bb5f
commit b77fcbccc6
2 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
{{ $title = .Site.Title }}
{{ end }}
{{ end }}
{{ if and $title (not .Params.paige_show_full_pages) }}
{{ if $title }}
<h1 class="{{ $class }} fw-bold text-center">
{{ with .Params.link }}
<a href="{{ . }}">{{ $title | markdownify }}</a>