support is better than chat

This commit is contained in:
sakrecoer 2020-11-29 23:28:46 +01:00
parent e76f49e07b
commit 32133052c2
5 changed files with 23 additions and 18 deletions

View file

@ -28,7 +28,8 @@
<a target="_blank" rel="nofollow noopener" title="Share to reddit" alt="Share to reddit" href="https://reddit.com/submit/?url={{ site.url }}{{ page.url }}&quest;pk_campaign=homeshare&amp;title={{ page.description | xml_escape }}%20By%20{{ site.title | xml_escape }}" class="icon smaller fab fa-reddit"><span class="label">Reddit</span></a>
</ul>
<br />
<a href="{{ relBase }}/chat/#read" target="_blank" class="button">📢 Chat</a>
{% unless page.url == '/radio/' %}
<h2><a href="#support" class="button">🙏 Support</a></h2>
{% endunless %}
</div>
</div>

View file

@ -2,7 +2,7 @@
{% if page.collection == 'posts' %}
{% if page.category == 'releases' %}
{% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox">
<section class="streambox" id="support">
<h2>Get this release</h2>
<div class="streamer">
{% for shop in page.stores %}
@ -13,7 +13,7 @@
</div>
</section>
{% else %}
<section class="streambox">
<section class="streambox" id="support">
<h2>This release can't be obtained</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer">
@ -27,7 +27,7 @@
{% endif %}
{% else %}
{% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox">
<section class="streambox" id="support">
<h2>Get this release</h2>
<div class="streamer">
{% for shop in page.stores %}
@ -38,10 +38,21 @@
</div>
</section>
{% else %}
<section class="streambox" id="support">
<h2>Support {{ site.title }}</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer">
{% for shop in site.data.stores %}
<a onclick="_paq.push(['trackEvent', 'StoreLink', '{{ shop.name | remove: " " }}']);" target="_blank" rel="noopener" href="{{ shop.url }}" title="Stream from {{ shop.name }}" class="icon fab {{ shop.icon }}"><span class="label">{{ shop.name }}</span></a>
{% endfor %}
</div>
</section>
{% endif %}
{% endif %}
{% elsif page.collection == 'tracks' %}
<section class="streambox">
<section class="streambox" id="support">
{% for post in site.posts %}
{% if post.album == page.albumSlug %}
@ -74,7 +85,7 @@
</section>
{% else %}
<section class="streambox">
<section class="streambox" id="support">
<h2>Support {{ site.title }}</h2>
<p>Stream, follow, like and subscribe!</p>
<div class="streamer">