diff --git a/plugin.mod b/plugin.mod index f53fbeb..deed53a 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "art-deco" display_name = "Art Deco" scope = "@themes" -version = "0.5.0" +version = "0.5.1" description = "Luxury Art Deco theme with champagne gold gradients, jet black, ivory and geometric fan motifs for hotels, fine dining, weddings and jewellers." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/art-deco/post-hero.ninjatpl b/templates/overrides/art-deco/post-hero.ninjatpl index c9e45ba..a8e9995 100644 --- a/templates/overrides/art-deco/post-hero.ninjatpl +++ b/templates/overrides/art-deco/post-hero.ninjatpl @@ -1,18 +1,19 @@ -{# post-hero (art-deco) — current post from the `post` provider. When the post #} -{# has a featured image it becomes an overlaid banner; otherwise a clean text hero. #} +{# Art Deco post hero — media and copy stay in separate, readable 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" %}
-
+
+
+
{% if center %}
{% 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 %}{{ 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 %} -
+
{% if center %}
{% endif %}

{{ post.title }}