Move paige_show_full_pages logic to list layout
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ if not .Params.paige_show_full_pages }}
|
||||
{{ partial "paige-main.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "paige-pages.html" . }}
|
||||
{{ end }}
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user