Use global content layout for A Summer's End shrine's

This commit is contained in:
Helen Chong 2024-04-19 07:52:34 +08:00
parent 516dc1ecdb
commit 1804072371
2 changed files with 4 additions and 17 deletions

View File

@ -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 %}

View File

@ -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>