fix(coffee): collapse multi-line ninjatpl comments to single-line (load-fatal lexer error)

This commit is contained in:
Alex Dunmow 2026-07-05 17:06:50 +08:00
parent 1ee4a32cdf
commit 4b5a37b7d3
4 changed files with 4 additions and 13 deletions

View File

@ -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 %}
<div class="auth-form-logged-in coffee-card mx-auto max-w-md p-6 text-center">
<p class="coffee-body text-muted-foreground">You are logged in as <strong class="text-primary">{{ auth.display_name }}</strong></p>

View File

@ -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 %}
<div class="auth-status flex items-center gap-2">
<a href="/login" class="coffee-body rounded-lg px-3 py-1.5 text-sm font-medium opacity-80 transition-colors hover:bg-muted hover:opacity-100">Login</a>

View File

@ -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. #}
<section class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
<div class="mx-auto max-w-3xl px-4 text-center">
<p class="coffee-hand text-3xl text-accent">Lost your way?</p>

View File

@ -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). #}
<div class="password-reset-form coffee-card mx-auto max-w-md p-6">
<div id="reset-message"></div>
<div id="request-reset-panel">