aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorRichard Mortier2025-06-01 18:21:12 +0100
committerGitHub2025-06-01 10:21:12 -0700
commit17a7f29da7577bce5c7629beb8d109a922c97559 (patch)
tree757844f0e435d576f75f46cbbb25f6bcfb33c8cb /templates/page.html
parent55c8f7c218a16b8790cc72468ef35efa7293bee3 (diff)
downloadabridge-17a7f29da7577bce5c7629beb8d109a922c97559.tar.gz
abridge-17a7f29da7577bce5c7629beb8d109a922c97559.tar.bz2
abridge-17a7f29da7577bce5c7629beb8d109a922c97559.zip
add block delimiters to page header so it can be overridden (#224)
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
index cf8016b..18a5153 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -38,12 +38,15 @@
{%- block content %}
<article>
+
+ {%- block page_header %}
{{- macros::title_post(page=page, config=config) }}
{%- if config.extra.meta_post.position %}
{%- if config.extra.meta_post.position == "top" or config.extra.meta_post.position == "both" %}
{{- macros::meta_post(page=page, config=config) }}
{%- endif %}{%- endif %}
+ {%- endblock page_header %}
{# In Page Series Navigation #}
{%- if config.extra.series | default(value=true) %}