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
- icon: "\U0001F4E2"
url: '/chat/#read'
name: Chat
name: Chat with me
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>
</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">

View file

@ -31,6 +31,7 @@ layout: default
{% endfor %}
</ul>
</div>
<h2 style="text-align: center;"><a href="#support" class="button">🙏 Support</a></h2>
</div>
<div class="noJSalbum">
<div class="coverartwrapper">
@ -61,16 +62,11 @@ layout: default
{% assign author = site.authors | where: "url", author_id | first %}
<div id="author">
<div class="bio">
<p class="date">
Published the
<time datetime="{{ page.date }}">{% include dates.html %}</time>
</p>
<h6>
Share this page:
</h6>
<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 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>
</div>
</div>
</div>
@ -123,7 +115,6 @@ layout: default
</div>
</div>
{% include streamer.html %}
{% if onetracker > 1 %}
<!-- Tracks -->

View file

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