fix: been layout now passes content through instead of placeholder

layouts/been.njk was overriding the page template content with
placeholder text. Now outputs {{ content | safe }} so been.njk
renders correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
svemagie
2026-03-11 08:44:12 +01:00
parent cb29690438
commit dce97d8d9b
2 changed files with 1 additions and 27 deletions

View File

@@ -1,29 +1,4 @@
---
layout: layouts/base.njk
title: Been
permalink: /been/
withSidebar: true
---
{% set checkins = whereCheckins.checkins or [] %}
<div class="been-page">
<header class="mb-6 sm:mb-8">
<h1 class="text-2xl sm:text-3xl md:text-4xl font-bold text-surface-900 dark:text-surface-100 mb-2">Been</h1>
<p class="text-surface-600 dark:text-surface-400">
All past check-ins captured by this site via Micropub.
</p>
</header>
{% if checkins.length > 1 %}
<section class="space-y-4" aria-label="Past check-ins">
{% set pastCheckins = checkins | slice(1) | reverse %}
{% for checkin in pastCheckins %}
<article class="p-4 sm:p-5 bg-surface-50 dark:bg-surface-800 rounded-lg border border-surface-200 dark:border-surface-700 shadow-sm">
...existing checkin rendering code from where.njk...
</article>
{% endfor %}
</section>
{% else %}
<p class="text-surface-600 dark:text-surface-400">No past check-ins found.</p>
{% endif %}
</div>
{{ content | safe }}

View File

@@ -4,7 +4,6 @@ title: Been
permalink: /been/
withSidebar: true
---
{% set checkins = whereCheckins.checkins or [] %}
<div class="been-page">