Skip to content

Commit

Permalink
Added the page header in the contentless section page
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Biason committed Jun 18, 2019
1 parent 4a3aa81 commit 658e800
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/section-contentless.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

{# A section that has only its front matter and no content. #}

{% block title %}
{{ config.title }}
-
{{ section.title }}
{% endblock %}

{% block content %}
{% block header %}
{{ super() }}
{% endblock header %}

<h1>{{ section.title }}</h1>
{{ section.content | safe }}
{% endblock content %}

0 comments on commit 658e800

Please sign in to comment.