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
|
||||
---
|
||||
|
||||
<header class="main__header">
|
||||
<h1>{{ pageTitle or title }}</h1>
|
||||
{% if desc %}
|
||||
<p>{{ desc }}</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
{% extends "global/content.njk" %}
|
||||
|
||||
<div class="content__wrapper">
|
||||
{% if toc %}
|
||||
{% include "global/toc.njk" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="content {{'content--divided' if isContentDivided }}">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
|
||||
{% include "asummersend/shrineinfo.njk" %}
|
||||
</div>
|
||||
{% block shrineInfo %}{% include "asummersend/shrineinfo.njk" %}{% endblock %}
|
|
@ -51,6 +51,8 @@
|
|||
{% if tags and tags.includes("contents") or title === "Articles" or tags and tags.includes("blog pages") %}
|
||||
{% include "main/content-nav.njk" %}
|
||||
{% endif %}
|
||||
|
||||
{% block shrineInfo %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Reference in New Issue