From c99adffd55d2944dce9b494226c9db6cba32cb6f Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Thu, 22 Oct 2020 15:04:18 +0200 Subject: [PATCH] button for link condition --- _layouts/post.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index b2d25df..9df9c88 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -90,7 +90,7 @@ layout: default
{{ content }} - {% if page.link %} + {% if page.link.url %}

{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %} @@ -327,7 +327,7 @@ layout: default

{{ content }} - {% if page.link or page.chat %} + {% if page.link.url %}

{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}