From b07755a1339b1d96ac9d57222674ac3a00c61324 Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Mon, 17 Jun 2024 14:23:23 +0100 Subject: [PATCH] Only show buy links with titles --- _layouts/product.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_layouts/product.html b/_layouts/product.html index 644a8cb2..77747ffc 100644 --- a/_layouts/product.html +++ b/_layouts/product.html @@ -42,6 +42,7 @@ {% for buy_link in page.product_buy_links %} + {% if buy_link.link-title %}
  • {{ buy_link.link-title }} @@ -52,6 +53,7 @@ {% if buy_link.from %}Buy from {{buy_link.from}}{% endif %}
  • + {% endif %} {% endfor %} {% endif %}