diff --git a/plugin.mod b/plugin.mod index 7f05958..43cdd27 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,8 +2,11 @@ name = "terminal" display_name = "Terminal" scope = "@themes" -version = "0.4.0" +version = "0.4.1" description = "Phosphor-on-black TTY theme for dev tools and OSS docs. Window chrome, man-page article layouts, keybind tables, boot logs, monospace type, and a typed-terminal canvas hero. Paper-teletype light mode, phosphor dark mode." kind = "theme" categories = ["templates"] tags = ["terminal", "hacker", "monospace", "dev", "ctf", "docs", "devtools", "oss"] + +[compatibility] +plugin_sdk = ">=0.3.7" diff --git a/templates/overrides/terminal/post-hero.ninjatpl b/templates/overrides/terminal/post-hero.ninjatpl index ce97464..66d8629 100644 --- a/templates/overrides/terminal/post-hero.ninjatpl +++ b/templates/overrides/terminal/post-hero.ninjatpl @@ -1,18 +1,19 @@ -{# post-hero (terminal override) — current post from the `post` provider. When the post #} -{# has a featured image it becomes an overlaid banner; otherwise a clean text hero. #} +{# Terminal post hero — CRT copy panel and media are physically separate. #} {% 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 }}