add chapter name display on pages
This commit is contained in:
parent
0fecc2303f
commit
b554d06a04
2 changed files with 2 additions and 4 deletions
|
|
@ -8,9 +8,7 @@
|
|||
<article>
|
||||
<header class="post-header">
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.date %}
|
||||
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
|
||||
{% endif %}
|
||||
{% if page.extra.chapter %}<span class="chapter">{{ page.extra.chapter }} | </span>{% endif %}{% if page.date %}<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>{% endif %}
|
||||
</header>
|
||||
<div class="content">
|
||||
{% if page.content is containing("<!--TOC_PLACEHOLDER-->") %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue