fix broken chat button condition

This commit is contained in:
sakrecoer 2020-10-20 13:23:31 +02:00
parent 236275809a
commit bd87825845

View file

@ -90,11 +90,11 @@ layout: default
<section class="info"> <section class="info">
<div class="container"> <div class="container">
{{ content }} {{ content }}
{% if page.link or page.chat %} {% if page.link %}
<p class="center"> <p class="center">
{% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a> <a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %}
</p> </p>
{% endif %} {% endif %}
@ -328,11 +328,11 @@ layout: default
<div class="info-pages"> <div class="info-pages">
{{ content }} {{ content }}
{% if page.link or page.chat %} {% if page.link %}
<p class="center"> <p class="center">
{% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a> <a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %}
</p> </p>
{% endif %} {% endif %}