diff --git a/plugin.mod b/plugin.mod index 203c57c..b675395 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,8 +2,11 @@ name = "gotham" display_name = "Gotham" scope = "@themes" -version = "1.2.0" +version = "1.2.1" description = "After-dark identity for a nightlife venue or private members' club. Cinematic near-black luxe, brass hairline accents, letterboxed heroes and tall condensed display type." kind = "theme" categories = ["templates"] tags = ["dark", "nightlife", "luxury", "club", "cinematic", "brass", "condensed", "hospitality", "events"] + +[compatibility] +plugin_sdk = ">=0.3.7" diff --git a/templates/overrides/gotham/post-hero.ninjatpl b/templates/overrides/gotham/post-hero.ninjatpl index b2293ff..960955e 100644 --- a/templates/overrides/gotham/post-hero.ninjatpl +++ b/templates/overrides/gotham/post-hero.ninjatpl @@ -1,18 +1,19 @@ -{# post-hero (gotham) — current post from the `post` provider. When the post #} -{# has a featured image it becomes an overlaid banner; otherwise a clean text hero. #} +{# Gotham post hero — cinematic framing without sacrificing readable copy. #} {% 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 }}