From 490e69716f33987b4b45fe9e7ef5d3653b752ab8 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Mon, 6 Jul 2026 19:56:43 +0800 Subject: [PATCH] fix(noir): single-line hero comment (multi-line {# #} is a ninjatpl lexer error that 500s registration) Co-Authored-By: Claude Fable 5 --- templates/overrides/noir/hero.ninjatpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/overrides/noir/hero.ninjatpl b/templates/overrides/noir/hero.ninjatpl index 8e1a731..94145ed 100644 --- a/templates/overrides/noir/hero.ninjatpl +++ b/templates/overrides/noir/hero.ninjatpl @@ -9,9 +9,7 @@ {% set sUrl = ctaSecondary.url %} {% set variant = template|default:"centered" %} {% set hasImage = backgroundImage %} -{# When there is a background image the content sits on a dark grayscale - photo + dark scrim in BOTH modes, so text must be light regardless of mode. - onImg switches foreground/muted-foreground reads to light utility classes. #} +{# With a background image the content sits on a dark grayscale photo + dark scrim in BOTH modes, so onImg switches text to light utility classes. #} {% set showOverlay = hasImage %} {% macro herocontent(align, onImg) %} {% if eyebrowText %}
{{ eyebrowText }}
{% endif %}