From ba329c41886076a4bfe0200a74172dcc779bfa51 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Wed, 8 Jul 2020 12:00:45 +0200 Subject: [PATCH 01/10] make site tiitle dynamic --- _includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/footer.html b/_includes/footer.html index dcd25162..c91c2987 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -16,7 +16,7 @@ {% endfor %} -
pax:nion Logo
+
{{ site.title }} Logo
-
+
{{ content }}

{{ page.credits }}

diff --git a/_layouts/post.html b/_layouts/post.html index f1b7222c..18a00fa8 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -102,7 +102,7 @@
-
+
{{ content }}

{{ page.credits }}

diff --git a/_layouts/track.html b/_layouts/track.html index 6b81ee7d..06567669 100644 --- a/_layouts/track.html +++ b/_layouts/track.html @@ -43,7 +43,7 @@ layout: default
{% unless page.all.UNSYNCEDLYRICS == '' %}

Lyrics

{% endunless %} -

+

{{ page.all.UNSYNCEDLYRICS | newline_to_br }}

credits: diff --git a/_sass/_set.scss b/_sass/_set.scss index feccd7b5..7ff87cc0 100644 --- a/_sass/_set.scss +++ b/_sass/_set.scss @@ -351,7 +351,7 @@ div.content { flex: 1 0 250px; margin: 0; font-size: 12px; - font-family: monospace; + font-family: _font(family-fixed); } @media only screen and (max-width: 569px) { p { diff --git a/_sass/components/_button.scss b/_sass/components/_button.scss index 0b5e2137..45f11275 100644 --- a/_sass/components/_button.scss +++ b/_sass/components/_button.scss @@ -21,7 +21,7 @@ cursor: pointer; display: inline-block; font-weight: _font(weight-bold); - font-family: monospace; + font-family: _font(family-fixed); letter-spacing: _font(kerning-alt); text-align: center; text-decoration: none; diff --git a/_sass/libs/_vars.scss b/_sass/libs/_vars.scss index 1ff6dcc7..a2c95f35 100644 --- a/_sass/libs/_vars.scss +++ b/_sass/libs/_vars.scss @@ -39,7 +39,7 @@ // Font. $font: ( family: ('Astloch', Helvetica, sans-serif), - family-fixed: ('Courier New', monospace), + family-fixed: ('Lucida Console', Monaco, monospace), weight: 400, weight-bold: 700, kerning: -0.025em, diff --git a/index.html b/index.html index 9e0af40a..4b1e537e 100644 --- a/index.html +++ b/index.html @@ -51,10 +51,10 @@ date: 2018-12-11 00:00:00

{{ album.date | date: '%Y' }}

{% for track in album.tracks %} -

+

{{ track.common.track.no }}. {{ track.common.title }}
| - {{ track.common.genre }} + {{ track.common.genre }}

diff --git a/releases.html b/releases.html index c4e74393..436f28a4 100644 --- a/releases.html +++ b/releases.html @@ -39,10 +39,10 @@ image: /images/guillaume-techer-jm9p0mdpo6a-unsplash.jpg

{{ album.date | date: '%Y' }}

{% for track in album.tracks %} -

+

{{ track.common.track.no }}. {{ track.common.title }}
| - {{ track.common.genre }} + {{ track.common.genre }}

From 2f0ab293cffb9d8d68afaff36c30234422b0cc2a Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 28 Jul 2020 12:50:11 +0200 Subject: [PATCH 06/10] update streamer --- _includes/streamer.html | 244 +++++++++++++++++++++++----------------- _posts/_defaults.md | 1 + 2 files changed, 139 insertions(+), 106 deletions(-) diff --git a/_includes/streamer.html b/_includes/streamer.html index 8a4aef1d..4e5c8098 100644 --- a/_includes/streamer.html +++ b/_includes/streamer.html @@ -1,173 +1,205 @@ -
-{% if page.collection == 'posts' %} - {% if page.category == 'release' %} - {% if page.stores[0].name != nil %} -

Buy this release

+{% if page.collection == 'posts' %} +{% if page.category == 'releases' %} +{% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

+
+ {% for shop in page.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in page.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+
+{% else %} +
+

This release can't be obtained

+

Stream, follow, like and subscribe!

+
+ {% for shop in site.data.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+

 

+ +
+ {% for shop in site.data.stores %} + {% if shop.download != true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+
+{% endif %} +{% else %} +{% if page.check_this_if_cannot_be_bought == false %} +
+

Get this release

{% for shop in page.stores %} {% if shop.download == true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
-

 

+

Stream it, follow, like and subscribe!

{% for shop in page.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
+
+{% else %} +{% endif %} +{% endif %} - {% else %} -

This release can't be bought

-

But you can find others here:

-
- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-

 

- -
- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- {% endif %} - {% endif %} - {% elsif page.collection == 'tracks' %} - {% for post in site.posts %} - {% if post.album == page.albumSlug %} - {% if post.stores[0].name != nil %} - -

Buy this Track

-
- {% for shop in post.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- -

 

-
- - {% for shop in post.stores %} - {% if shop.download != true %} - - {{ shop.name }} - {% endif %} - {% endfor %} -
- +
+{% for post in site.posts %} +{% if post.album == page.albumSlug %} +{% if post.check_this_if_cannot_be_bought == false %} +

Get this track

+
+ {% for shop in post.stores %} + {% if shop.download == true %} + {{ shop.name }} {% endif %} - {% else %} - -

This track can't be bought

-

But you can find others here:

-
- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
-

 

- -
- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
- {% endif %}{% break %} {% endfor %} +
+ +

Stream it, follow, like and subscribe!

+
+ + {% for shop in post.stores %} + {% if shop.download != true %} + + {{ shop.name }} + {% endif %} + {% endfor %} +
+{% else %} + +

This track can't be obtained

+

Stream, follow, like and subscribe!

+
+ {% for shop in site.data.stores %} + {% if shop.download == true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+

 

+ +
+ {% for shop in site.data.stores %} + {% if shop.download != true %} + {{ shop.name }} + {% endif %} + {% endfor %} +
+{% break %} + +{% endif %} +{% endif %} +{% endfor %} +
{% elsif page.collection == 'albums' %} - +
{% for post in site.posts %} {% if post.album == page.slug %} -{% if post.stores[0].name != nil %} +{% if post.check_this_if_cannot_be_bought == false %} -

Buy this album

+

Get this album

{% for shop in post.stores %} {% if shop.download == true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
-

 

+

Stream it, follow, like and subscribe!

{% for shop in post.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
- - - -{% endif %} {% else %} -

This album can't be bought

-

But you can find others here:

+

This album can't be obtained

+

Stream, follow, like and subscribe!

{% for shop in site.data.stores %} {% if shop.download == true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
-

 

+

 

{% for shop in site.data.stores %} {% if shop.download != true %} - {{ shop.name }} + {{ shop.name }} {% endif %} {% endfor %}
-{% endif %}{% break %} +{% break %} + +{% endif %} +{% endif %} {% endfor %} + +
+ {% else %} -

Support {{ site.name }}

-

Pay for music here:

+
+

Support {{ site.title }}

+

Stream, follow, like and subscribe!

- {% for shop in site.data.stores %} - {% if shop.download == true %} - {{ shop.name }} - {% endif %} - {% endfor %} +{% for shop in site.data.stores %} +{% if shop.download == true %} +{{ shop.name }} +{% endif %} +{% endfor %}
-

 

+

 

- {% for shop in site.data.stores %} - {% if shop.download != true %} - {{ shop.name }} - {% endif %} - {% endfor %} -
+{% for shop in site.data.stores %} +{% if shop.download != true %} +{{ shop.name }} +{% endif %} +{% endfor %} +
+ {% endif %} - \ No newline at end of file diff --git a/_posts/_defaults.md b/_posts/_defaults.md index 69e6d8eb..c19bd7f6 100644 --- a/_posts/_defaults.md +++ b/_posts/_defaults.md @@ -6,6 +6,7 @@ image: category: credits: '' album: +check_this_if_cannot_be_bought: false stores: - name: url: From c9205d913884389b65e413e5f058384b74b747a1 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 28 Jul 2020 13:08:27 +0200 Subject: [PATCH 07/10] media url and category update --- _config.yml | 5 +-- _includes/seo.html | 81 ++++++++++++++++++++++++++++++++++++------- _layouts/album.html | 37 +++++++++++--------- _layouts/default.html | 3 +- _layouts/post.html | 41 ++++++++++++---------- _layouts/track.html | 55 +++++++++++++++++++++-------- index.html | 6 ++-- releases.html | 4 +-- 8 files changed, 161 insertions(+), 71 deletions(-) diff --git a/_config.yml b/_config.yml index 7546f99a..977b4766 100644 --- a/_config.yml +++ b/_config.yml @@ -10,6 +10,7 @@ url : https://paxnion.basspistol.com banner: /siteicon.png icon: /siteicon.png logo: /siteicon.png +mediaurl: https://media.basspistol.com/panix author: name: pax:nion @@ -46,8 +47,8 @@ collections: permalink: pretty categories: - - release - - rambling + - releases + - ramblings exclude: - changelog.md diff --git a/_includes/seo.html b/_includes/seo.html index d89f06cd..3235bc37 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -1,3 +1,30 @@ + + + {% if page.collection == 'tracks' %} @@ -6,7 +33,7 @@ - + @@ -39,17 +66,17 @@ - + - + - + + - {% elsif page.collection == 'albums' %} @@ -61,7 +88,7 @@ - + @@ -94,18 +121,18 @@ -{% for track in page.tracks %} +{% for track in page.tracks %} {% endfor %} - + - + + - {% else %} @@ -115,7 +142,7 @@ - + @@ -157,5 +184,33 @@ - -{% endif %} \ No newline at end of file + + + + + + +{% endif %} + + + \ No newline at end of file diff --git a/_layouts/album.html b/_layouts/album.html index 53fd27d5..89d5fb66 100644 --- a/_layouts/album.html +++ b/_layouts/album.html @@ -10,7 +10,7 @@ lang: en - + {% include seo.html %} {% include relBase.html %} @@ -29,16 +29,18 @@ lang: en @@ -64,7 +66,7 @@ lang: en
-
{% assign onetracker = page.tracks | size %} {% if onetracker > 1 %} @@ -94,8 +96,8 @@ lang: en
{{ track.common.track.no }}.
- -
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }}
+ +
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
{% endfor %} @@ -103,8 +105,11 @@ lang: en
- {{ content }} -

{{ page.credits }}

+ {% for post in site.posts %} + {% if post.album == page.slug %} + {{ post.content }} + {% endif %} + {% endfor %}
@@ -114,12 +119,12 @@ lang: en - +{% include streamer.html %}

Track list

-

Use thses pages to share one song in particulare

+

Use thses pages to share one song in particular

@@ -132,7 +137,7 @@ lang: en

{{ track.common.title }}

- {% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }} + {% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
{{ track.common.genre }}
{{ track.common.year }}

@@ -141,13 +146,13 @@ lang: en
- {{ track.common.title }} + {{ track.common.title }}
{% endfor %} -{% include streamer.html %} +
@@ -219,7 +224,7 @@ lang: en "track": {{ track.common.track.no }}, "name": "{{ track.common.title }}", "length": "{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }}", - "file": "https://media.basspistol.com/panix/{{ track.albumSlug }}/{{ track.trackSlug }}" + "file": "{{ site.mediaurl }}/{{ track.albumSlug }}/{{ track.trackSlug }}" }{% unless forloop.last %},{% endunless %}{% endfor %}], trackCount = tracks.length, npAction = $('#npAction'), diff --git a/_layouts/default.html b/_layouts/default.html index c91a8590..9a81ba7c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,10 +8,9 @@ --> - {% include seo.html %} {% include relBase.html %} - + diff --git a/_layouts/post.html b/_layouts/post.html index 18a00fa8..90413fe1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,6 +1,6 @@ --- --- -{% if page.category == 'release' %} +{% if page.category == 'releases' %}
-
+
{{ content }} -

{{ page.credits }}

+ +{% include streamer.html %} {% for track in album.tracks %} @@ -120,7 +120,7 @@

{{ track.common.title }}

- {% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }} + {% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
{{ track.common.genre }}
{{ track.common.year }}

@@ -129,13 +129,12 @@
- {{ track.common.title }} + {{ track.common.title }}
{% endfor %} -{% include streamer.html %} {% break %} {% endif %} {% endfor %} @@ -212,7 +211,7 @@ "track": {{ track.common.track.no }}, "name": "{{ track.common.title }}", "length": "{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }}", - "file": "https://media.basspistol.com/panix/{{ track.albumSlug }}/{{ track.trackSlug }}" + "file": "{{ site.mediaurl }}/{{ track.albumSlug }}/{{ track.trackSlug }}" }{% unless forloop.last %},{% endunless %}{% endfor %}{% break %} {% endif %}{% endfor %}], trackCount = tracks.length, npAction = $('#npAction'), @@ -300,7 +299,6 @@ - {% include seo.html %} {% include relBase.html %} @@ -319,11 +317,14 @@
- From 02a4f9484d0b66460a9f16f91ee83438a4f63d5c Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 28 Jul 2020 13:20:25 +0200 Subject: [PATCH 08/10] email and site title --- _config.yml | 3 ++- _includes/footer.html | 4 ++-- _includes/navigation.html | 2 +- feed.xml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index 977b4766..8fe29acd 100644 --- a/_config.yml +++ b/_config.yml @@ -14,11 +14,12 @@ mediaurl: https://media.basspistol.com/panix author: name: pax:nion + mail: info+paxnion@basspistol.com publisher: name: Basspistol domain: basspistol.com - mail: info@basspistol.com + mail: info+paxnion@basspistol.com plugins: - jekyll-sitemap diff --git a/_includes/footer.html b/_includes/footer.html index c91c2987..226e8f2d 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -4,7 +4,7 @@

{{ site.title }}

{{ site.description }} -
{{ site.author.email }}

+
{{ site.author.mail }}

©{{ site.time | date: '%Y' }} {{ site.publisher.name }} | Credits | Cookies & Privacy

diff --git a/_includes/navigation.html b/_includes/navigation.html index 351ce568..7fd7f21f 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,6 +1,6 @@ diff --git a/feed.xml b/feed.xml index b787481d..e44722bb 100644 --- a/feed.xml +++ b/feed.xml @@ -7,7 +7,7 @@ layout: nil xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"> - {{ site.name | xml_escape }} + {{ site.title | xml_escape }} {% if site.description %}{{ site.description | xml_escape }}{% endif %} {{ site.feed_update_period | default: "daily" | xml_escape }} {{ site.feed_update_frequency | default: 1 | xml_escape }} From c37204141f407516ec397e25851377ab329a6d52 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Mon, 30 Nov 2020 17:34:13 +0100 Subject: [PATCH 09/10] corrsdomain tracking --- _config.yml | 4 ++++ _includes/analytics.js | 49 ++++++++++++++++++++++++------------------ _includes/matomo.js | 40 ++++++++++++++++++++++++++++++---- 3 files changed, 68 insertions(+), 25 deletions(-) diff --git a/_config.yml b/_config.yml index 8fe29acd..5a4b8ad3 100644 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,10 @@ plugins: - jekyll-seo-tag - jekyll-last-modified-at +## Matomo +matomo_site_id: '3' +matomo_container: 'fHO88MfH' + # GEO diff --git a/_includes/analytics.js b/_includes/analytics.js index 07c8f4c5..3194c767 100644 --- a/_includes/analytics.js +++ b/_includes/analytics.js @@ -2,32 +2,39 @@ //* Matomo *// - var _paq = window._paq || []; - /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ - _paq.push(['setDocumentTitle', '404/URL = ' + encodeURIComponent(document.location.pathname+document.location.search) + '/From = ' + encodeURIComponent(document.referrer)]); - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - (function() { - var u="https://terminalnetwork.matomo.cloud/"; - _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '14']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - +var _paq = window._paq = window._paq || []; +_paq.push(['setDocumentTitle', '404/URL = ' + encodeURIComponent(document.location.pathname+document.location.search) + '/From = ' + encodeURIComponent(document.referrer)]); +_paq.push(["setCookieDomain", "*.basspistol.com"]); +_paq.push(["setDomains", ["*.basspistol.org","*.basspistol.com","*.pauvrecoude.basspistol.com","*.paxnion.basspistol.com","*.radio.basspistol.com","*.sakrecoer.basspistol.com","*.sakrecoer.com","*.sethybowoy.basspistol.com","*.setto.basspistol.com","*.tfb.basspistol.com","*.v.basspistol.org"]]); +_paq.push(["enableCrossDomainLinking"]); +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var u="https://terminalnetwork.matomo.cloud/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '{{ site.matomo_site_id }}']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); +})(); //* End Matomo *// - - {% else %} -//* Matomo Tag Manager *// - var _mtm = _mtm || []; - _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); + +var _paq = window._paq = window._paq || []; +_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); +_paq.push(["setCookieDomain", "*.basspistol.com"]); +_paq.push(["setDomains", ["*.basspistol.org","*.basspistol.com","*.pauvrecoude.basspistol.com","*.paxnion.basspistol.com","*.radio.basspistol.com","*.sakrecoer.basspistol.com","*.sakrecoer.com","*.sethybowoy.basspistol.com","*.setto.basspistol.com","*.tfb.basspistol.com","*.v.basspistol.org"]]); +_paq.push(["enableCrossDomainLinking"]); +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var u="https://terminalnetwork.matomo.cloud/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '{{ site.matomo_site_id }}']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/container_aJ0T3vZ5.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); +})(); -//* End Matomo Tag Manager *// {% endif %} diff --git a/_includes/matomo.js b/_includes/matomo.js index 864052ed..696067c4 100644 --- a/_includes/matomo.js +++ b/_includes/matomo.js @@ -1,13 +1,45 @@ -var _paq = window._paq || []; +{% if page.url == '/404/' %} + +//* Matomo *// + +var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ -_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); +_paq.push(['setDocumentTitle', '404/URL = ' + encodeURIComponent(document.location.pathname+document.location.search) + '/From = ' + encodeURIComponent(document.referrer)]); +_paq.push(["setCookieDomain", "*.basspistol.com"]); +_paq.push(["setDomains", ["*.basspistol.org","*.basspistol.com","*.pauvrecoude.basspistol.com","*.paxnion.basspistol.com","*.radio.basspistol.com","*.sakrecoer.basspistol.com","*.sakrecoer.com","*.sethybowoy.basspistol.com","*.setto.basspistol.com","*.tfb.basspistol.com","*.v.basspistol.org"]]); +_paq.push(["enableCrossDomainLinking"]); _paq.push(["disableCookies"]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://terminalnetwork.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '14']); + _paq.push(['setSiteId', '{{ site.matomo_site_id }}']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); +//* End Matomo *// + +{% else %} + +//* Matomo *// + +var _paq = window._paq = window._paq || []; +_paq.push(["setDocumentTitle", document.domain + "/" + document.title]); +_paq.push(["setCookieDomain", "*.basspistol.com"]); +_paq.push(["setDomains", ["*.basspistol.org","*.basspistol.com","*.pauvrecoude.basspistol.com","*.paxnion.basspistol.com","*.radio.basspistol.com","*.sakrecoer.basspistol.com","*.sakrecoer.com","*.sethybowoy.basspistol.com","*.setto.basspistol.com","*.tfb.basspistol.com","*.v.basspistol.org"]]); +_paq.push(["enableCrossDomainLinking"]); +_paq.push(["disableCookies"]); +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var u="https://terminalnetwork.matomo.cloud/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '{{ site.matomo_site_id }}']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); +})(); + +//* End Matomo *// + +{% endif %} \ No newline at end of file From 00cd501f325ece10a10d1bbb1f7f0503bba83c5e Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 30 Mar 2021 12:31:44 +0200 Subject: [PATCH 10/10] upgrade kramdown etall --- Gemfile.lock | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a81343de..18fdd722 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,15 +4,15 @@ GEM addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) colorator (1.1.0) - concurrent-ruby (1.1.6) - em-websocket (0.5.1) + concurrent-ruby (1.1.8) + em-websocket (0.5.2) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) - ffi (1.12.2) + ffi (1.15.0) forwardable-extended (2.6.0) http_parser.rb (0.6.0) - i18n (1.8.2) + i18n (1.8.9) concurrent-ruby (~> 1.0) jekyll (4.0.0) addressable (~> 2.4) @@ -40,24 +40,26 @@ GEM jekyll (>= 3.7, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) - kramdown (2.1.0) + kramdown (2.3.1) + rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.3) - listen (3.2.1) + listen (3.5.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) pathutil (0.16.2) forwardable-extended (~> 2.6) - posix-spawn (0.3.13) - public_suffix (4.0.4) - rb-fsevent (0.10.3) + posix-spawn (0.3.15) + public_suffix (4.0.6) + rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) - rouge (3.18.0) + rexml (3.2.4) + rouge (3.26.0) safe_yaml (1.0.5) - sassc (2.2.1) + sassc (2.4.0) ffi (~> 1.9) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1)