From ab1df4ae8bb61083e7786d0a03ee8ad28a3776d6 Mon Sep 17 00:00:00 2001 From: "Mark W. Kidd" Date: Fri, 7 Feb 2025 18:45:51 -0500 Subject: [PATCH] image template upgrade --- _includes/embed_image.html | 5 +++++ index.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_includes/embed_image.html b/_includes/embed_image.html index dc968f3..622f5ba 100644 --- a/_includes/embed_image.html +++ b/_includes/embed_image.html @@ -3,11 +3,16 @@ {%- endif -%} {%- if include.link -%} +{%- elseif include.thumbnail == "true" -%} + {%- endif -%} {%- if include.alt -%}{{- include.alt -}}{%- else -%}WARNING: ALT TEXT NOT FOUND{%- endif -%} {%- if include.link -%} {%- endif -%} +{%- if include.thumbnail == "true" -%} + +{%- endif -%} {% if include.caption %}
{{-include.caption-}}
diff --git a/index.md b/index.md index f8b6024..1ee3972 100644 --- a/index.md +++ b/index.md @@ -17,7 +17,7 @@ nav_order: 10 {% include embed_image.html url="assets/images/gts-landing-splash-1000x490.png" - width="66%" + width="50%" alt="Inspiring a shift in agriculture towards adaptation, community, and diversity" %}