From 40412de2e138b47363a127a5f11eb136de3aac1f Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sat, 5 Sep 2026 21:14:12 +0800 Subject: [PATCH] chore: checkpoint all working changes --- plugin.mod | 2 +- templates/overrides/y2k/post-hero.ninjatpl | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/plugin.mod b/plugin.mod index 3606473..30899e4 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "y2k" display_name = "Y2K" scope = "@themes" -version = "0.4.0" +version = "0.4.1" description = "Millennium-web band theme — liquid-chrome bevels, frosted plastic, gradient mesh, marquees, glitter, a webring, and a canvas metaball hero. Built for musicians and bands." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/y2k/post-hero.ninjatpl b/templates/overrides/y2k/post-hero.ninjatpl index 9ca5f16..e364a89 100644 --- a/templates/overrides/y2k/post-hero.ninjatpl +++ b/templates/overrides/y2k/post-hero.ninjatpl @@ -1,18 +1,19 @@ -{# post-hero (y2k override) — current post from the `post` provider. When the post #} -{# has a featured image it becomes an overlaid banner; otherwise a clean text hero. #} +{# Y2K post hero — glossy content panel beside its featured 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 }}