Make content navigation only show up on the main articles page

This commit is contained in:
Leilukin 2024-04-19 18:04:23 +08:00 committed by Helen Chong
parent 1ed27fe1fe
commit 5e1997c4a7

View File

@ -48,7 +48,7 @@
</div>
{% endif %}
{% if tags and tags.includes("contents") or title === "Articles" or tags and tags.includes("blog pages") %}
{% if tags and tags.includes("contents") or page.url === "/articles/" or tags and tags.includes("blog pages") %}
{% include "main/content-nav.njk" %}
{% endif %}