fix: move post-graph outside tier conditional so it shows on all homepage layouts

Confab-Link: http://localhost:8080/sessions/956f4251-b4a9-4bc9-b214-53402ad1fe63
This commit is contained in:
Ricardo
2026-03-05 14:25:36 +01:00
parent 14dcfba50a
commit 87f5b7fd2d
+8 -8
View File
@@ -106,14 +106,6 @@ withSidebar: true
</section>
{% endif %}
{# Posting Activity — contribution graph #}
{% if collections.posts and collections.posts.length %}
<section class="mb-8 sm:mb-12">
<h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">Posting Activity</h2>
{% postGraph collections.posts %}
</section>
{% endif %}
{# Explore — quick links to key sections #}
<section class="mb-8 sm:mb-12">
<h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">Explore</h2>
@@ -149,3 +141,11 @@ withSidebar: true
</section>
{% endif %} {# end two-tier fallback #}
{# Posting Activity — contribution graph (shown on all homepage variants) #}
{% if collections.posts and collections.posts.length %}
<section class="mb-8 sm:mb-12">
<h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">Posting Activity</h2>
{% postGraph collections.posts %}
</section>
{% endif %}