From f15d28a769d5126ea2b5b0cb97b0496e3470bb5d Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Fri, 11 Sep 2020 19:02:26 +0200 Subject: [PATCH] upgrade setto --- _data/navigation.yml | 8 +- _includes/analytics.js | 4 +- _includes/author.html | 2 +- _includes/contact.html | 47 + _includes/cookie-consent.html | 10 +- _includes/ethoicon-selector.html | 172 ++ _includes/ethos.html | 31 + _includes/footer.html | 59 +- _includes/header.html | 52 +- _includes/matomo.js | 2 +- _includes/navigation.html | 8 +- _includes/scripts.html | 3 +- _includes/seo.html | 2 +- _layouts/album.html | 3 +- _layouts/default.html | 25 +- _layouts/page.html | 13 +- _layouts/post.html | 118 +- _layouts/track.html | 56 +- _sass/_cookies.scss | 30 +- _sass/_elements.scss | 239 +- _sass/_forms.scss | 125 + _sass/_layout.scss | 249 +- _sass/_navigation.scss | 68 +- _sass/_noscripts.scss | 9 +- _sass/_player.scss | 23 +- _sass/_set.scss | 2 +- _sass/ethos.scss | 98 + _sass/libs/_vars.scss | 87 +- _sass/staff.scss | 48 + _sass/svg.scss | 9 + _sass/trackplayer.scss | 9 +- _service-worker.js | 41 - assets/css/colors-20200911.css | 16 + assets/css/font-awesome.min.css | 4 + assets/css/fontawesome-all.min.css | 5 + assets/css/main-20200911.scss | 21 + assets/css/noscripts-20200911.scss | 23 + assets/fonts/Bungee/Bungee-Regular.ttf | Bin 0 -> 126736 bytes .../fonts/Bungee/BungeeHairline-Regular.ttf | Bin 0 -> 115760 bytes assets/fonts/Bungee/OFL.txt | 92 + assets/fonts/FontAwesome.otf | Bin 0 -> 134808 bytes assets/fonts/IBMPlexSansCondensed-Bold.ttf | Bin 0 -> 109536 bytes assets/fonts/MajorMonoDisplay-Regular.ttf | Bin 0 -> 122512 bytes assets/fonts/PressStart2P-Regular.ttf | Bin 0 -> 118204 bytes assets/fonts/Rubik/Rubik-Light.ttf | Bin 0 -> 136816 bytes assets/fonts/Rubik/Rubik-LightItalic.ttf | Bin 0 -> 140356 bytes assets/fonts/Rubik/Rubik-Medium.ttf | Bin 0 -> 143696 bytes assets/fonts/Rubik/Rubik-MediumItalic.ttf | Bin 0 -> 145452 bytes assets/fonts/SedgwickAveDisplay-Regular.ttf | Bin 0 -> 135536 bytes assets/fonts/Staatliches-Regular.ttf | Bin 61312 -> 60780 bytes assets/fonts/Staatliches/OFL.txt | 93 + .../fonts/Staatliches/Staatliches-Regular.ttf | Bin 0 -> 61312 bytes assets/fonts/collects.ttf | Bin 0 -> 14132 bytes assets/fonts/fontawesome-webfont.eot | Bin 0 -> 165742 bytes assets/fonts/fontawesome-webfont.svg | 2671 +++++++++++++++++ assets/fonts/fontawesome-webfont.ttf | Bin 0 -> 165548 bytes assets/fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes assets/fonts/fontawesome-webfont.woff2 | Bin 0 -> 77160 bytes assets/fonts/icofont.eot | Bin 0 -> 1018784 bytes assets/fonts/icofont.ttf | Bin 0 -> 1018620 bytes assets/fonts/icofont.woff | Bin 0 -> 629908 bytes .../JetBrainsMono-ExtraBold-Italic.woff | Bin 0 -> 65232 bytes .../JetBrainsMono-ExtraBold-Italic.woff2 | Bin 0 -> 49004 bytes .../JetBrainsMono-ExtraBold.woff | Bin 0 -> 60132 bytes .../JetBrainsMono-ExtraBold.woff2 | Bin 0 -> 45320 bytes .../jetBrainsMono/JetBrainsMono-Italic.woff | Bin 0 -> 63980 bytes .../jetBrainsMono/JetBrainsMono-Italic.woff2 | Bin 0 -> 47888 bytes .../jetBrainsMono/JetBrainsMono-Regular.woff | Bin 0 -> 64440 bytes .../jetBrainsMono/JetBrainsMono-Regular.woff2 | Bin 0 -> 50800 bytes .../jetBrainsMono/JetBrainsMono_ExtraBold.ttf | Bin 0 -> 139168 bytes .../JetBrainsMono_ExtraBold_Italic.ttf | Bin 0 -> 145672 bytes .../jetBrainsMono/JetBrainsMono_Italic.ttf | Bin 0 -> 141572 bytes .../jetBrainsMono/JetBrainsMono_Regular.ttf | Bin 0 -> 136708 bytes assets/fonts/poppins/Poppins-Light.ttf | Bin 0 -> 159848 bytes assets/fonts/poppins/Poppins-LightItalic.ttf | Bin 0 -> 184420 bytes assets/fonts/poppins/Poppins-Medium.ttf | Bin 0 -> 156480 bytes assets/fonts/poppins/Poppins-MediumItalic.ttf | Bin 0 -> 180412 bytes assets/fonts/poppins/popin-light-italic.woff2 | Bin 0 -> 8700 bytes assets/fonts/poppins/popin-light.woff2 | Bin 0 -> 7848 bytes .../fonts/poppins/popin-medium-italic.woff2 | Bin 0 -> 8548 bytes assets/fonts/poppins/popin-medium.woff2 | Bin 0 -> 7776 bytes assets/js/set-20200911.js | 32 + images/setto-logoicon.svg | 136 +- index.html | 55 +- 84 files changed, 4207 insertions(+), 593 deletions(-) create mode 100644 _includes/contact.html create mode 100644 _includes/ethoicon-selector.html create mode 100644 _includes/ethos.html create mode 100644 _sass/_forms.scss create mode 100644 _sass/ethos.scss create mode 100644 _sass/staff.scss create mode 100644 _sass/svg.scss delete mode 100644 _service-worker.js create mode 100644 assets/css/colors-20200911.css create mode 100644 assets/css/font-awesome.min.css create mode 100644 assets/css/fontawesome-all.min.css create mode 100644 assets/css/main-20200911.scss create mode 100644 assets/css/noscripts-20200911.scss create mode 100644 assets/fonts/Bungee/Bungee-Regular.ttf create mode 100644 assets/fonts/Bungee/BungeeHairline-Regular.ttf create mode 100644 assets/fonts/Bungee/OFL.txt create mode 100644 assets/fonts/FontAwesome.otf create mode 100644 assets/fonts/IBMPlexSansCondensed-Bold.ttf create mode 100644 assets/fonts/MajorMonoDisplay-Regular.ttf create mode 100644 assets/fonts/PressStart2P-Regular.ttf create mode 100644 assets/fonts/Rubik/Rubik-Light.ttf create mode 100644 assets/fonts/Rubik/Rubik-LightItalic.ttf create mode 100644 assets/fonts/Rubik/Rubik-Medium.ttf create mode 100644 assets/fonts/Rubik/Rubik-MediumItalic.ttf create mode 100644 assets/fonts/SedgwickAveDisplay-Regular.ttf create mode 100644 assets/fonts/Staatliches/OFL.txt create mode 100644 assets/fonts/Staatliches/Staatliches-Regular.ttf create mode 100644 assets/fonts/collects.ttf create mode 100644 assets/fonts/fontawesome-webfont.eot create mode 100644 assets/fonts/fontawesome-webfont.svg create mode 100644 assets/fonts/fontawesome-webfont.ttf create mode 100644 assets/fonts/fontawesome-webfont.woff create mode 100644 assets/fonts/fontawesome-webfont.woff2 create mode 100644 assets/fonts/icofont.eot create mode 100644 assets/fonts/icofont.ttf create mode 100644 assets/fonts/icofont.woff create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff2 create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-ExtraBold.woff create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-ExtraBold.woff2 create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-Italic.woff create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-Italic.woff2 create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-Regular.woff create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono-Regular.woff2 create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono_ExtraBold.ttf create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono_ExtraBold_Italic.ttf create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono_Italic.ttf create mode 100644 assets/fonts/jetBrainsMono/JetBrainsMono_Regular.ttf create mode 100644 assets/fonts/poppins/Poppins-Light.ttf create mode 100644 assets/fonts/poppins/Poppins-LightItalic.ttf create mode 100644 assets/fonts/poppins/Poppins-Medium.ttf create mode 100644 assets/fonts/poppins/Poppins-MediumItalic.ttf create mode 100644 assets/fonts/poppins/popin-light-italic.woff2 create mode 100644 assets/fonts/poppins/popin-light.woff2 create mode 100644 assets/fonts/poppins/popin-medium-italic.woff2 create mode 100644 assets/fonts/poppins/popin-medium.woff2 create mode 100644 assets/js/set-20200911.js diff --git a/_data/navigation.yml b/_data/navigation.yml index 5141483..16ffaac 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,16 +1,16 @@ -- icon: fa-disc +- icon: 💽 url: /discography/ name: Discog external_site: false -- icon: fa-newspaper +- icon: 📰 url: /log/ name: Log external_site: false -- icon: fa-finger-print +- icon: 🐿 url: /about/ name: About external_site: false -- icon: fa-link +- icon: 🔗 url: /links/ name: Links external_site: false diff --git a/_includes/analytics.js b/_includes/analytics.js index c8f9293..1b0c4b6 100644 --- a/_includes/analytics.js +++ b/_includes/analytics.js @@ -13,7 +13,7 @@ _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='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); //* End Matomo *// @@ -26,7 +26,7 @@ var _mtm = _mtm || []; _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); 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/container_{{ site.matomo_container }}.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/container_{{ site.matomo_container }}.js'; s.parentNode.insertBefore(g,s); //* End Matomo Tag Manager *// {% endif %} diff --git a/_includes/author.html b/_includes/author.html index 2fcc190..362df5a 100644 --- a/_includes/author.html +++ b/_includes/author.html @@ -26,7 +26,7 @@ href="https://touch.facebook.com/sharer.php?u={{ site.url }}{{ page.url | xml_escape }}&quote={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}%20via%20{{ site.url }}" class="icon smaller fab fa-facebook-f">Facebook Twitter +
+
+
+
+

Kontakta oss!

+
+ +
+
+ + + {% if page.url == '/fr-fretag/' %} + + + + + + + {% endif %} +
+
+
+ +
+
+
+ integritets policyn + +
+
+
+ +
+
+
+ +
+
+
+
+ \ No newline at end of file diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html index e212b89..dc267d9 100644 --- a/_includes/cookie-consent.html +++ b/_includes/cookie-consent.html @@ -1,13 +1,13 @@ diff --git a/_includes/ethoicon-selector.html b/_includes/ethoicon-selector.html new file mode 100644 index 0000000..61df6ce --- /dev/null +++ b/_includes/ethoicon-selector.html @@ -0,0 +1,172 @@ + +{% case include.icon %} +{% when "alcohol" %} + + + + + + + + +{% when "fossile" %} + + + +{% when "gambling" %} + + + + +{% when "gmo" %} + + + + + + +{% when "nuclear" %} + + + + + + +{% when "meat" %} + + + +{% when "pesticide" %} + + + + + + +{% when "processed" %} + + + + + +{% when "tobak" %} + + + + + +{% when "weapon" %} + + + + +{% endcase %} diff --git a/_includes/ethos.html b/_includes/ethos.html new file mode 100644 index 0000000..25d7f02 --- /dev/null +++ b/_includes/ethos.html @@ -0,0 +1,31 @@ +
+

+ Kategorier + +

+
+
+ + {% for etho_name in site.data.ethos_ordning %}{% for etho in site.ethos %} + {% capture name -%}{{ etho.relative_path | replace_first: etho.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}{%- endcapture %} + {% if name == etho_name %} + + {% break %} {% endif %} {% endfor %} {% endfor %} +
+
+ diff --git a/_includes/footer.html b/_includes/footer.html index 20907bd..45db997 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,32 +1,35 @@ - -{% unless page.collection == 'tracks' %} {% include streamer.html %} -{% endunless %} + diff --git a/_includes/header.html b/_includes/header.html index 5c18bf5..42193fb 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,23 +1,33 @@ -
-
-

{{ page.title }}

-

{{ page.description }}

- {% if page.category == 'releases' %} -

Listen

- {% endif %} - {% if page.category == 'ramblings' %} -

Read

- {% endif %} - {% if page.url == '/404/' %} -

Take me home

- {% endif %} -
+{% include relBase.html %} +
- +

{{ page.title }}

- {% if page.video_path %} - - {% endif %} -
+ + +
+
+ +
+ + + +
+ +

{{ page.title }}

+ {% if page.category == 'releases' %} +

by {{ page.artist }}

+ {% endif %} + {% unless page.category == 'releases' %} +

{{ page.description }}

+ {% endunless %} +
+
+ +
+ + + diff --git a/_includes/matomo.js b/_includes/matomo.js index b5aa886..214bac0 100644 --- a/_includes/matomo.js +++ b/_includes/matomo.js @@ -9,5 +9,5 @@ _paq.push(['enableLinkTracking']); _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='//cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); + g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://cdn.matomo.cloud/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })(); diff --git a/_includes/navigation.html b/_includes/navigation.html index a22341e..6db262c 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,7 +1,7 @@
- + @@ -15,13 +15,13 @@ X
- +
-
+
{{ content }}
@@ -130,7 +132,6 @@ layout: default
-

{{ track.common.title }}

@@ -138,12 +139,8 @@ layout: default {% 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 }}

-

Play

- - - +

Play

-
{% endfor %} @@ -156,34 +153,26 @@ layout: default
- - {% if page.previous.url or page.next.url %} - -

Check out more

-
- {% if page.previous.url %} -

 {{page.previous.title}}

-

{{ page.previous.description }}

- +
+
+ {% if page.previous.url %} +

+

{{ page.previous.title }}

+

{{ page.previous.description }}

+ {% endif %} +
+
+ {% if page.next.url%} +

+

{{ page.next.title }}

+

{{ page.next.description }}

+ {% endif %} +
+
{% endif %} -
-
- {% if page.next.url%} - -

{{page.next.title}} 

-

{{ page.next.description }}

- - {% endif %} -
- - - -{% endif %} - - -
@@ -309,34 +298,39 @@ layout: default {% else %} {% include header.html %} +
-
+
+ {{ content }} -

 

-

Check it out

+ {% if page.link %} +

👀 Check it out!

+ {% endif %}
- {% include streamer.html %} - -
- {% if page.previous.url or page.next.url %} -

Post Navigation

-
- - {% if page.previous.url %} -

 {{page.previous.title}}

- -

{{ page.previous.description }}

- {% endif %} -
-
- {% if page.next.url%} -

{{page.next.title}} 

-

{{ page.next.description }}

- {% endif %} -
- {% endif %} -
+ + + +
+ {% if page.previous.url or page.next.url %} +
+
+ {% if page.previous.url %} +

+

{{ page.previous.title }}

+

{{ page.previous.description }}

+ {% endif %} +
+
+ {% if page.next.url%} +

+

{{ page.next.title }}

+

{{ page.next.description }}

+ {% endif %} +
+
+{% endif %} +
{% endif %} \ No newline at end of file diff --git a/_layouts/track.html b/_layouts/track.html index 6ddcee8..d8e2162 100644 --- a/_layouts/track.html +++ b/_layouts/track.html @@ -18,7 +18,7 @@ layout: default
Play!
-

{{ page.common.title }}

+

@@ -27,7 +27,9 @@ layout: default
+
+

{{ page.common.title }}

{% for style in page.common.genre %}{{ style }}{% endfor %} by {{ page.common.artist }}

{% for post in site.posts %} {% if post.album == page.albumSlug %} @@ -37,7 +39,7 @@ layout: default

{% assign round_seconds = page.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 }}

- + {% include author.html %} @@ -71,48 +73,32 @@ layout: default

{{ page.all.Comment }}

- {% for albumurl in site.posts %} - {% if albumurl.album == page.albumSlug %} -

See release page

-{% endif %} -{% endfor %} +
{% for post in site.posts %} {% if post.album == page.albumSlug %} -{% include streamer.html %} + {% endif %} {% endfor %}
- - {% if page.previous.url or page.next.url %} - -

Track Navigation

-
- - {% if page.previous.url %} -

 Previous

-

{{ page.previous.common.title }}

-

{{ page.previous.description }}

- {% endif %} -
-
- {% if page.next.url%} -

Next 

-

{{ page.next.common.title }}

-

{{ page.next.description }}

- {% endif %} -
- - - + {% if page.previous.url %} +

+

{{ page.previous.common.title }}

+

{{ page.previous.description }}

+ {% endif %} +
+
+ {% if page.next.url%} +

+

{{ page.next.common.title }}

+

{{ page.next.description }}

+ {% endif %} +
{% endif %} - - - {% include footer.html %} @@ -126,7 +112,7 @@ layout: default
-