From 42f9611382522eeb321eb7a5d33b3f3f6a845d02 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Thu, 20 Aug 2026 12:13:31 +0800 Subject: [PATCH] fix: release accessible post hero --- plugin.mod | 5 ++++- .../overrides/brutalist/post-hero.ninjatpl | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/plugin.mod b/plugin.mod index ea94112..e3e1f8f 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,8 +2,11 @@ name = "brutalist" display_name = "Brutalist" scope = "@themes" -version = "0.7.0" +version = "0.7.1" description = "Concrete, oversized type, hard 12-col grid theme for design studios, architecture firms and art galleries." kind = "theme" categories = ["templates"] tags = ["brutalist", "neo-brutalist", "studio", "agency", "bold", "mono", "editorial", "candy"] + +[compatibility] +plugin_sdk = ">=0.3.7" diff --git a/templates/overrides/brutalist/post-hero.ninjatpl b/templates/overrides/brutalist/post-hero.ninjatpl index 246de7a..698bdc7 100644 --- a/templates/overrides/brutalist/post-hero.ninjatpl +++ b/templates/overrides/brutalist/post-hero.ninjatpl @@ -1,16 +1,18 @@ -{# brutalist post-hero override — current post from the `post` provider. Featured image = overlaid banner; otherwise clean text hero. Fields: align, post.*, showExcerpt, showMeta. #} +{# Brutalist post hero — uncompromising split grid, with copy off the image. #} {% set center = align != "left" %} {% if post.featured_image_url %} -
-
{% img post.featured_image_url alt=post.featured_image_alt class="h-full w-full object-cover" layout="hero" %}
-
-

{{ post.title }}

-{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %} -{% if showMeta %}
{% if post.author_name %}{{ post.author_name }}{% endif %}{% if post.published_at %}{{ post.published_at|date:"F j, Y" }}{% endif %}{% if post.reading_time %}{{ post.reading_time }} min read{% endif %}
{% endif %} +
+
+
+

{{ post.title }}

+{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %} +{% if showMeta %}
{% if post.author_name %}{{ post.author_name }}{% endif %}{% if post.published_at %}{% endif %}{% if post.reading_time %}{{ post.reading_time }} min read{% endif %}
{% endif %} +
+
{% img post.featured_image_url alt=post.featured_image_alt class="h-full w-full object-cover" layout="third" %}{% attribution post.featured_image_url class="px-4 py-2 text-xs text-muted-foreground" %}
{% else %} -
+

{{ post.title }}

{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %}