Use global content layout for A Summer's End shrine's
This commit is contained in:
parent
516dc1ecdb
commit
1804072371
|
@ -2,21 +2,6 @@
|
||||||
layout: asummersend/base
|
layout: asummersend/base
|
||||||
---
|
---
|
||||||
|
|
||||||
<header class="main__header">
|
{% extends "global/content.njk" %}
|
||||||
<h1>{{ pageTitle or title }}</h1>
|
|
||||||
{% if desc %}
|
|
||||||
<p>{{ desc }}</p>
|
|
||||||
{% endif %}
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div class="content__wrapper">
|
{% block shrineInfo %}{% include "asummersend/shrineinfo.njk" %}{% endblock %}
|
||||||
{% if toc %}
|
|
||||||
{% include "global/toc.njk" %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class="content {{'content--divided' if isContentDivided }}">
|
|
||||||
{{ content | safe }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% include "asummersend/shrineinfo.njk" %}
|
|
||||||
</div>
|
|
|
@ -51,6 +51,8 @@
|
||||||
{% if tags and tags.includes("contents") or title === "Articles" or tags and tags.includes("blog pages") %}
|
{% if tags and tags.includes("contents") or title === "Articles" or tags and tags.includes("blog pages") %}
|
||||||
{% include "main/content-nav.njk" %}
|
{% include "main/content-nav.njk" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% block shrineInfo %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue