From 1900ecf6125b52e2b98a9a4c6d69e287a66e87dd 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 +- .../overrides/pastel-dream/post-hero.ninjatpl | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/plugin.mod b/plugin.mod index d0e0bff..b107b0c 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "pastel-dream" display_name = "Pastel Dream" scope = "@themes" -version = "0.5.0" +version = "0.5.1" description = "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards, and seasonal specials in blush, berry, and lilac." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/pastel-dream/post-hero.ninjatpl b/templates/overrides/pastel-dream/post-hero.ninjatpl index bba398a..12fd5e7 100644 --- a/templates/overrides/pastel-dream/post-hero.ninjatpl +++ b/templates/overrides/pastel-dream/post-hero.ninjatpl @@ -1,15 +1,17 @@ {% 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{% 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{% 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 %}