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

@ -20,5 +20,5 @@
external_site: false external_site: false
- icon: "\U0001F4E2" - icon: "\U0001F4E2"
url: '/chat/#read' url: '/chat/#read'
name: Chat name: Chat with me
external_site: false external_site: false

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> <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> </ul>
<br /> <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>
</div> </div>

View file

@ -2,7 +2,7 @@
{% if page.collection == 'posts' %} {% if page.collection == 'posts' %}
{% if page.category == 'releases' %} {% if page.category == 'releases' %}
{% if page.check_this_if_cannot_be_bought == false %} {% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox"> <section class="streambox" id="support">
<h2>Get this release</h2> <h2>Get this release</h2>
<div class="streamer"> <div class="streamer">
{% for shop in page.stores %} {% for shop in page.stores %}
@ -13,7 +13,7 @@
</div> </div>
</section> </section>
{% else %} {% else %}
<section class="streambox"> <section class="streambox" id="support">
<h2>This release can't be obtained</h2> <h2>This release can't be obtained</h2>
<p>Stream, follow, like and subscribe!</p> <p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">
@ -27,7 +27,7 @@
{% endif %} {% endif %}
{% else %} {% else %}
{% if page.check_this_if_cannot_be_bought == false %} {% if page.check_this_if_cannot_be_bought == false %}
<section class="streambox"> <section class="streambox" id="support">
<h2>Get this release</h2> <h2>Get this release</h2>
<div class="streamer"> <div class="streamer">
{% for shop in page.stores %} {% for shop in page.stores %}
@ -38,10 +38,21 @@
</div> </div>
</section> </section>
{% else %} {% 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 %}
{% endif %} {% endif %}
{% elsif page.collection == 'tracks' %} {% elsif page.collection == 'tracks' %}
<section class="streambox"> <section class="streambox" id="support">
{% for post in site.posts %} {% for post in site.posts %}
{% if post.album == page.albumSlug %} {% if post.album == page.albumSlug %}
@ -74,7 +85,7 @@
</section> </section>
{% else %} {% else %}
<section class="streambox"> <section class="streambox" id="support">
<h2>Support {{ site.title }}</h2> <h2>Support {{ site.title }}</h2>
<p>Stream, follow, like and subscribe!</p> <p>Stream, follow, like and subscribe!</p>
<div class="streamer"> <div class="streamer">

View file

@ -31,6 +31,7 @@ layout: default
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
<h2 style="text-align: center;"><a href="#support" class="button">🙏 Support</a></h2>
</div> </div>
<div class="noJSalbum"> <div class="noJSalbum">
<div class="coverartwrapper"> <div class="coverartwrapper">
@ -61,16 +62,11 @@ layout: default
{% assign author = site.authors | where: "url", author_id | first %} {% assign author = site.authors | where: "url", author_id | first %}
<div id="author"> <div id="author">
<div class="bio"> <div class="bio">
<p class="date"> <p class="date">
Published the Published the
<time datetime="{{ page.date }}">{% include dates.html %}</time> <time datetime="{{ page.date }}">{% include dates.html %}</time>
</p> </p>
<h6> <h6>
Share this page: Share this page:
</h6> </h6>
<ul> <ul>
@ -79,10 +75,6 @@ layout: default
<a target="_blank" rel="nofollow noopener" title="Share to telegram" alt="Share to telgram" href="https://telegram.me/share/url?url={{ site.url }}{{ page.url }}&quest;pk_campaign=homeshare&amp;text={{ page.description | xml_escape }}%20via%20&#64;{{ site.social.usernames.telegram }}" class="icon smaller fab fa-telegram"><span class="label ">Telegram</span></a> <a target="_blank" rel="nofollow noopener" title="Share to telegram" alt="Share to telgram" href="https://telegram.me/share/url?url={{ site.url }}{{ page.url }}&quest;pk_campaign=homeshare&amp;text={{ page.description | xml_escape }}%20via%20&#64;{{ site.social.usernames.telegram }}" class="icon smaller fab fa-telegram"><span class="label ">Telegram</span></a>
<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> <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> </ul>
<br />
<a href="{{ relBase }}/chat/#read" target="_blank" class="button">📢 Chat</a>
</div> </div>
</div> </div>
</div> </div>
@ -123,7 +115,6 @@ layout: default
</div> </div>
</div> </div>
{% include streamer.html %}
{% if onetracker > 1 %} {% if onetracker > 1 %}
<!-- Tracks --> <!-- Tracks -->

View file

@ -176,3 +176,5 @@ layout: default
</script> </script>
<div class="fullscreen-bg" style="background-image: url({{ site.mediaurl }}/{{ page.slug }}.jpeg);background-size:cover;background-position:center center;">
</div>