From 4b5a37b7d3473a8315556a853f374559379e5b0b Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sun, 5 Jul 2026 17:06:50 +0800 Subject: [PATCH] fix(coffee): collapse multi-line ninjatpl comments to single-line (load-fatal lexer error) --- templates/overrides/coffee/auth-form.ninjatpl | 6 +----- templates/overrides/coffee/auth-status.ninjatpl | 4 +--- templates/overrides/coffee/page-suggestions.ninjatpl | 4 +--- templates/overrides/coffee/password-reset-form.ninjatpl | 3 +-- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/templates/overrides/coffee/auth-form.ninjatpl b/templates/overrides/coffee/auth-form.ninjatpl index a1c014b..0e6fa2d 100644 --- a/templates/overrides/coffee/auth-form.ninjatpl +++ b/templates/overrides/coffee/auth-form.ninjatpl @@ -1,8 +1,4 @@ -{# coffee auth-form — combined login/register in kraft chrome. Endpoints and panel - ids match the platform auth flow (/api/auth/login, /api/auth/register, - #auth-message, #login-panel/#register-panel). Auth state via the auth_state - provider (auth.logged_in / auth.display_name). Captcha, when enabled, is - emitted by the platform auth path. #} +{# coffee auth-form — combined login/register in kraft chrome. Endpoints and panel ids match the platform auth flow (/api/auth/login, /api/auth/register, #auth-message, #login-panel/#register-panel). Auth state via the auth_state provider (auth.logged_in / auth.display_name). Captcha, when enabled, is emitted by the platform auth path. #} {% if auth.logged_in %}

You are logged in as {{ auth.display_name }}

diff --git a/templates/overrides/coffee/auth-status.ninjatpl b/templates/overrides/coffee/auth-status.ninjatpl index 5571626..92a336c 100644 --- a/templates/overrides/coffee/auth-status.ninjatpl +++ b/templates/overrides/coffee/auth-status.ninjatpl @@ -1,6 +1,4 @@ -{# coffee auth-status — header login state. Auth state via the auth_state provider; - endpoints match the platform (/login, /login?tab=register, /api/auth/logout, - /api/auth/resend-verification). #} +{# coffee auth-status — header login state. Auth state via the auth_state provider; endpoints match the platform (/login, /login?tab=register, /api/auth/logout, /api/auth/resend-verification). #} {% if not auth.logged_in %}
Login diff --git a/templates/overrides/coffee/page-suggestions.ninjatpl b/templates/overrides/coffee/page-suggestions.ninjatpl index 8e2a9b8..01ffc8e 100644 --- a/templates/overrides/coffee/page-suggestions.ninjatpl +++ b/templates/overrides/coffee/page-suggestions.ninjatpl @@ -1,6 +1,4 @@ -{# coffee page-suggestions — themed 404 helper. Suggestions (when the platform - provides them) list {url|slug, title, excerpt}; otherwise a friendly - hand-drawn "lost your way" panel with a route home. #} +{# coffee page-suggestions — themed 404 helper. Suggestions (when the platform provides them) list {url|slug, title, excerpt}; otherwise a friendly hand-drawn "lost your way" panel with a route home. #}

Lost your way?

diff --git a/templates/overrides/coffee/password-reset-form.ninjatpl b/templates/overrides/coffee/password-reset-form.ninjatpl index 6f557c6..1cc5c3f 100644 --- a/templates/overrides/coffee/password-reset-form.ninjatpl +++ b/templates/overrides/coffee/password-reset-form.ninjatpl @@ -1,5 +1,4 @@ -{# coffee password-reset-form — request panel in kraft chrome. Endpoint matches - the platform (/api/auth/request-password-reset, #reset-message). #} +{# coffee password-reset-form — request panel in kraft chrome. Endpoint matches the platform (/api/auth/request-password-reset, #reset-message). #}