Support for hiding page header

This commit is contained in:
Mimi 2024-04-14 09:58:35 +08:00
parent 37d74f3b85
commit ca0e6f0a0e

View File

@ -23,7 +23,9 @@
{### PAGE BLOCK ###} {### PAGE BLOCK ###}
{##################} {##################}
<div class="post-block" lang="{{ page.lang }}"> <div class="post-block" lang="{{ page.lang }}">
{%- if page.header !== false %}
{%- include '_partials/page/page-header.njk' -%} {%- include '_partials/page/page-header.njk' -%}
{%- endif %}
{#################} {#################}
{### PAGE BODY ###} {### PAGE BODY ###}
{#################} {#################}