Set chapter title separately

We avoid the anchor link on mouse-over this way.
This commit is contained in:
Philipp Oppermann
2020-12-16 20:23:48 +01:00
parent 50683507da
commit b353866952
2 changed files with 2 additions and 2 deletions

View File

@@ -41,6 +41,7 @@
{% set chapter_slug = chapter | slugify %}
<div class="posts {{chapter_slug}}">
{% set chapter_page = get_page(path = "edition-3/chapters/" ~ chapter_slug ~ ".md" ) %}
<h2>{{ chapter_page.title }}</h2>
{{ chapter_page.content | safe }}
{%- endif -%}