button for link condition

This commit is contained in:
Set Hallstrom 2020-10-22 15:04:18 +02:00
parent bc15890a66
commit c99adffd55

View file

@ -90,7 +90,7 @@ layout: default
<section class="info"> <section class="info">
<div class="container"> <div class="container">
{{ content }} {{ content }}
{% if page.link %} {% if page.link.url %}
<p class="center"> <p class="center">
<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>
@ -327,7 +327,7 @@ layout: default
<div class="info-pages"> <div class="info-pages">
{{ content }} {{ content }}
{% if page.link or page.chat %} {% if page.link.url %}
<p class="center"> <p class="center">
<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>