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">
<div class="container">
{{ content }}
{% if page.link or page.chat %}
{% if page.link %}
<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>
{% endif %}
</p>
{% endif %}
@ -328,11 +328,11 @@ layout: default
<div class="info-pages">
{{ content }}
{% if page.link or page.chat %}
{% if page.link %}
<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>
{% endif %}
</p>
{% endif %}