Skip to content

Commit

Permalink
Support for hiding page header
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Apr 14, 2024
1 parent 37d74f3 commit ca0e6f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layout/page.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
{### PAGE BLOCK ###}
{##################}
<div class="post-block" lang="{{ page.lang }}">
{%- include '_partials/page/page-header.njk' -%}
{%- if page.header !== false %}
{%- include '_partials/page/page-header.njk' -%}
{%- endif %}
{#################}
{### PAGE BODY ###}
{#################}
Expand Down

0 comments on commit ca0e6f0

Please sign in to comment.