Use article tag is the content is an article
This commit is contained in:
parent
8a83a624d3
commit
5315e455d8
|
@ -14,9 +14,15 @@ layout: main/base
|
|||
{% include "global/toc.njk" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="content {{'content--divided' if isContentDivided }}">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
{% if isArticle %}
|
||||
<article class="article">
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
{% else %}
|
||||
<div class="content {{'content--divided' if isContentDivided }}">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if title === "Articles" or tags and tags.includes("articles") or tags and tags.includes("blog pages") %}
|
||||
{% include "main/content-nav.njk" %}
|
||||
|
|
Loading…
Reference in New Issue