From 010974d0c985c4569a93af96ddae4ddd6bbebbfb Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sat, 5 Sep 2026 21:14:13 +0800 Subject: [PATCH] chore: checkpoint all working changes --- plugin.mod | 2 +- .../overrides/cyberpunk/post-hero.ninjatpl | 21 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/plugin.mod b/plugin.mod index ed8a572..930583e 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "cyberpunk" display_name = "Cyberpunk" scope = "@themes" -version = "0.5.0" +version = "0.5.1" description = "Neon-on-black BlockNinja theme with glitch motifs, monospace accents, and magenta/cyan/lime tri-accent palette for SaaS, dev tools, and crypto." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/cyberpunk/post-hero.ninjatpl b/templates/overrides/cyberpunk/post-hero.ninjatpl index 3d720a9..30b9f16 100644 --- a/templates/overrides/cyberpunk/post-hero.ninjatpl +++ b/templates/overrides/cyberpunk/post-hero.ninjatpl @@ -1,18 +1,19 @@ -{# post-hero (cyberpunk override) — current post from the `post` provider. When the post #} -{# has a featured image it becomes an overlaid banner; otherwise a clean text hero. #} +{# Cyberpunk post hero — neon terminal copy and media occupy separate slots. #} {% 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 }}