Skip to content

Commit

Permalink
Adding custom header support to page template.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Sep 11, 2018
1 parent f0ea798 commit 354ae4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<article role="article">
<header>
{% include '_includes/qr_code.html' %}
{% if CUSTOM_HEADER_TEMPLATE %}
{{ CUSTOM_HEADER_TEMPLATE.render({"page": page}) }}
{% endif %}
<h1 class="entry-title">{{ page.title }}</h1>
</header>
{{ page.content }}
Expand Down

0 comments on commit 354ae4c

Please sign in to comment.