Fix header page

This commit is contained in:
southerntofu 2020-04-22 16:46:56 +02:00
parent a3d5a0870c
commit 198f78c67f
1 changed files with 3 additions and 3 deletions

View File

@ -19,11 +19,11 @@
<header>
{% block header %}
{% if config.extra.header %}
{% set header = get_page(path="_common/header.md") %}
{% set header = get_page(path=config.extra.header) %}
{{ header.content | markdown | safe }}
{% else %}
<h1>A beautiful header</h1>
<h2>Point config.extra.header to a Markdown page, or override the header block in your templates.</h2>
<h1>Welcome to water theme!</h1>
<h2>Please edit config.extra.header, or override the header block in your site templates.</h2>
{% endif %}
{% if translations %}{{ widgets::translations(translations=translations) }}{% endif %}
{% if config.extra.menu %}