--- layout: layouts/base.njk withSidebar: true --- {# Layout for slash pages (/about, /now, /uses, etc.) #} {# These are root-level pages created via Indiekit's page post type #} {# AI metadata compatibility: support nested ai object plus legacy top-level keys #} {% set aiMeta = ai or {} %} {% set aiTextLevel = aiTextLevel or ai_text_level or aiMeta.textLevel or aiMeta.aiTextLevel or "0" %} {% set aiCodeLevel = aiCodeLevel or ai_code_level or aiMeta.codeLevel or aiMeta.aiCodeLevel or "0" %} {% set aiTools = aiTools or ai_tools or aiMeta.aiTools or aiMeta.tools %} {% set aiDescription = aiDescription or ai_description or aiMeta.aiDescription or aiMeta.description %} {% set aiUsed = (aiTextLevel and aiTextLevel !== "0") or (aiCodeLevel and aiCodeLevel !== "0") %}

{{ title }}

{% if summary %}

{{ summary }}

{% endif %} {% set lastUpdated = updated or page.date %} {% if lastUpdated %}

Last updated:

{% endif %}
{{ content | safe }}
{# AI post-graph — shown only on the /ai/ page #} {% if page.url == "/ai/" and collections.posts %} {% set stats = collections.posts | aiStats %} {% set aiPostsList = collections.posts | aiPosts %}

AI Usage Across Posts

{{ stats.total }}
Total posts
{{ stats.aiCount }}
AI-involved
{{ stats.total - stats.aiCount }}
Human-only
{{ stats.percentage }}%
AI ratio
{# Breakdown by level #}
Level 0 (None): {{ stats.byLevel[0] }} Level 1 (Editorial): {{ stats.byLevel[1] }} Level 2 (Co-drafted): {{ stats.byLevel[2] }} Level 3 (AI-generated): {{ stats.byLevel[3] }}
{# Post graph showing AI posts (highlighted) on the full year grid #}

AI-Involved Posts Over Time

Highlighted days had posts with AI involvement (level 1+). Empty boxes represent days with no AI-involved posts.

{% postGraph aiPostsList, { prefix: "ai", highlightColorLight: "#d97706", highlightColorDark: "#fbbf24" } %}
{% endif %} {# Categories/tags if present #} {% if category %} {% endif %} {# Hidden metadata for microformats #} {# Pagefind filter metadata #} {# JSON-LD Structured Data for pages with AI transparency metadata #}