Make content navigation only show up on the main articles page

This commit is contained in:
Helen Chong 2024-04-19 18:04:23 +08:00
parent 80af405612
commit c7a5521ff2
1 changed files with 1 additions and 1 deletions

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