upgrade setto

This commit is contained in:
sakrecoer 2020-09-11 19:02:26 +02:00
parent 479cff7a23
commit f15d28a769
84 changed files with 4207 additions and 593 deletions

View file

@ -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 %}

View file

@ -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"><span class="label">Facebook</span></a>
<a target="_blank" rel="nofollow noopener" title="Share to twitter" alt="Share to twitter"
href="https://twitter.com/share?url={{ site.url }}{{ page.url | xml_escape }}&amp;text={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}%20&amp;hashtags=paxNion"
href="https://twitter.com/share?url={{ site.url }}{{ page.url | xml_escape }}&amp;text={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}%20&amp;hashtags=basspistol"
class="icon smaller fab fa-twitter"><span class="label">Twitter</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 }}&amp;text={{ page.title | xml_escape }}%20by%20{{ site.title xml_escape }}"

47
_includes/contact.html Normal file
View file

@ -0,0 +1,47 @@
<!-- BEGIN contact.html -->
<section id="contact">
<div>
<form action="{{ relBase }}/contact-success/" method="post" class="contact-form">
<div>
<h2>Kontakta oss!</h2>
<input type="hidden" name="_to" value="{{ site.publisher.mail }}" /><br />
<input type="text" name="_gotcha" style="display: none;" />
</div>
<div class="contact-info">
<label for="email">Email</label>
<input type="email" name="email" id="email" placeholder="Email..." required class="contact" />
{% if page.url == '/fr-fretag/' %}
<label for="phone">Phone</label>
<input type="tel" name="telephone" id="telephone" placeholder="Telefonnumer..." required
class="contact" />
<label for="name">Name</label>
<input type="name" name="name" id="name" placeholder="Namn och efternamn..." required class="contact" />
<label for="company">Företag</label>
<input type="company" name="company" id="company" placeholder="Företag..." required
class="contact" />
{% endif %}
</div>
<div>
<label for="message">Meddelande</label><br />
<textarea name="message" id="message" placeholder="Skriv ditt meddelande här..." required
class="contact textspace"></textarea>
</div>
<br />
<div>
<input type="checkbox" name="consent" id="consent" required class="css-checkbox lrg klaus" /><label
for="consent" class="css-label lrg klaus">Jag godkänner <a href="/cookies/">integritets policyn</a>
</label>
</div>
<br />
<div>
<input type="checkbox" name="news" id="news" class="css-checkbox lrg klaus" /><label for="news"
class="css-label lrg klaus">Jag vill ha nyheter</label>
</div>
<br />
<div>
<input type="submit" class="button" value="Send Message" />
</div>
</form>
</div>
</section>
<!-- END contact.html -->

View file

@ -1,13 +1,13 @@
<div id="cookie-notice">
<p>I only use cookies if you consent to it. They don't contain any identifiable info: they just let me know if you
enjoyed this enough to come back.
<br />Click <a href="#" id="cookie-notice-decline">here</a> if you want this shit to go away without cookies.
<br />Read more about how me & basspistol <a href="/cookies/">use cookies</a>
<p>
We only use cookies if you consent to it. They don't contain any identifiable info: they just let us know if you enjoyed this enough to come back.
<br /><a href="#" id="cookie-notice-decline">Click here</a> if you want this to go away without cookies.
<br />Read more about <a href="/cookies/"> how {{ site.title }} use cookies</a>
</p>
<a class="button yes" href="#"
id="cookie-notice-accept">I'm in!</a>
id="cookie-notice-accept">Ok</a>
</div>

View file

@ -0,0 +1,172 @@
{% case include.icon %}
{% when "alcohol" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M366.85,190.69v-29.3h-31.71v28.06c0,0,0,0,0,0c0.31,0.88,0.59,1.76,0.86,2.65c0.03,0.09,0.05,0.17,0.08,0.26 c0.25,0.83,0.48,1.66,0.7,2.49c0.04,0.16,0.09,0.33,0.13,0.49c0.2,0.77,0.38,1.55,0.55,2.33c0.05,0.25,0.11,0.5,0.16,0.74 c0.15,0.72,0.29,1.43,0.41,2.15c0.06,0.34,0.11,0.68,0.17,1.01c0.1,0.65,0.21,1.3,0.29,1.95c0.06,0.44,0.1,0.89,0.15,1.33 c0.06,0.56,0.13,1.13,0.18,1.69c0.05,0.59,0.09,1.19,0.12,1.78c0.03,0.43,0.06,0.87,0.08,1.3c0.05,1.04,0.07,2.09,0.07,3.14v22.46 h44.56v80.98h-44.56v26.85v5.99h23.85h36.9v-36.9v-38.38v-46.4C399.86,208.32,385.4,192.63,366.85,190.69z"
/>
<rect
x="335.14"
y="137.02"
width="31.71"
height="12.96"
/>
<path
d="M160.89,316.22h-44.56v-80.98h44.56v-22.46c0-1.05,0.03-2.09,0.07-3.14c0.02-0.44,0.06-0.87,0.08-1.3 c0.04-0.59,0.07-1.19,0.12-1.78c0.05-0.57,0.12-1.13,0.18-1.69c0.05-0.44,0.1-0.89,0.15-1.33c0.09-0.65,0.19-1.3,0.29-1.95 c0.05-0.34,0.11-0.68,0.17-1.01c0.13-0.72,0.27-1.44,0.41-2.15c0.05-0.25,0.1-0.5,0.16-0.74c0.17-0.78,0.35-1.56,0.55-2.33 c0.04-0.17,0.08-0.33,0.13-0.49c0.22-0.84,0.45-1.67,0.7-2.49c0.03-0.09,0.05-0.17,0.08-0.26c0.27-0.89,0.56-1.77,0.86-2.65 c0,0,0,0,0,0v-28.06h-31.71v29.3c-18.55,1.94-33.01,17.63-33.01,36.7v46.4v38.38v36.9h36.9h23.85v-5.99V316.22z"
/>
<rect
x="133.15"
y="137.02"
width="31.71"
height="12.96"
/>
<path
d="M274.37,156.37v-43.04h-48.73v43.04c-28.51,2.99-50.74,27.1-50.74,56.4v71.31v58.99v56.72h56.72h36.78h56.72 v-56.72v-58.99v-71.31C325.11,183.47,302.88,159.36,274.37,156.37z M300.21,349.31H199.79V224.84h100.41V349.31z"
/>
<rect
x="225.63"
y="75.42"
width="48.73"
height="19.92"
/>
</svg>
{% when "fossile" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M399.93,235.6c-1.34-13.13-3.23-44.55-42.91-92.29c-2.75,64.22-111.81,127.38-74.85-72.37 c-81.51,27.67-104.42,88.03-117.43,129.97c-8.38,27.01-42.67,41.09-52.23-3.55c-12.89,33.91-13.8,72.5,0.31,108.35 c30.1,76.48,117.09,113.89,193.03,84c41.76-16.44,72.09-49.74,86.13-89.03C399.33,280.1,402.21,257.89,399.93,235.6z M247.53,347.17 c-15.92,0-30.16-7.2-39.65-18.51c-3.57-3.81-6.39-8.4-8.34-13.88c-2.41-5.98-3.75-12.51-3.75-19.35c0-52.9,37.71-94.6,37.71-94.6 s-5.1,34.56,4.78,50.48c23.46,37.79,61,15.55,61,44.12S276.1,347.17,247.53,347.17z"
/>
</svg>
{% when "gambling" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M250,90c-88.37,0-160,71.63-160,160s71.63,160,160,160s160-71.63,160-160S338.37,90,250,90z M390,250.17 c-13.42,0-26.56,0-39.85,0c-0.31-21.64-6.68-41.08-19.07-58.58c10.92-7.94,21.61-15.72,32.41-23.58c17.21,23.71,26.5,52.14,26.5,82 C390,250.06,390,250.11,390,250.17z M171.25,250.46c-0.03-43.48,35.23-78.83,78.66-78.86c43.47-0.03,78.83,35.23,78.86,78.66 c0.03,43.47-35.23,78.83-78.66,78.86C206.64,329.15,171.29,293.89,171.25,250.46z M293.34,116.81c-4.21,12.9-8.34,25.56-12.5,38.3 c-20.77-6.44-41.12-6.35-61.65-0.02c-4.19-12.83-8.32-25.49-12.49-38.28c13.81-4.47,28.38-6.8,43.31-6.8 C264.94,110,279.52,112.33,293.34,116.81z M136.51,167.99c10.92,7.95,21.63,15.74,32.46,23.62 c-12.56,17.65-18.77,37.16-19.13,58.76c-13.39,0-26.53,0-39.84,0c0-0.12,0-0.25,0-0.37C110,220.13,119.3,191.7,136.51,167.99z M136.94,332.6c10.78-7.82,21.24-15.41,31.14-22.59c8.11,7.46,15.1,15.14,23.34,21.11c8.3,6.02,17.84,10.33,27.19,15.58 c-3.81,11.77-7.77,23.99-11.83,36.52c-20.8-6.73-39.86-18.32-55.76-34.23C145.86,343.85,141.17,338.36,136.94,332.6z M293.26,383.21c-4.08-12.6-8.11-25.06-12.19-37.66c20.5-6.99,36.93-19.04,49.89-36.27c10.77,7.82,21.4,15.53,32.11,23.3 c-4.23,5.77-8.93,11.25-14.08,16.41C333.1,364.89,314.05,376.49,293.26,383.21z"
/>
<rect
x="212.86"
y="212.86"
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -103.5534 250)"
width="74.28"
height="74.28"
/>
</svg>
{% when "gmo" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M283.83,427.61c10.73-1.98,21.32-4.92,31.62-8.83c0.49-15.49,4.34-30.89,11.57-44.99 c-12.49,7.87-25.92,13.67-39.8,17.39C284.48,403.14,283.36,415.4,283.83,427.61z"
/>
<path
d="M323.77,324.73L323.77,324.73c-41.13,41.13-108,41.2-149.22,0.21c-5.57-5.6-10.63-11.41-14.69-17.83 l139.79-139.79c-10.14-6.12-21.16-10.23-32.48-12.32L146.53,275.64c-5.93-24.49-3.05-50.69,8.66-73.51 c-12.49,7.87-25.92,13.67-39.8,17.39c-10.24,44.6,1.84,93.42,36.42,128.15c53.76,53.52,141.03,53.45,194.69-0.22l0,0 c20.21-20.21,46.64-30.5,73.18-30.88c4.18-10.38,7.36-21.07,9.55-31.92C391.32,282.48,352.67,295.83,323.77,324.73z"
/>
<path
d="M214.61,72.93c-10.73,1.98-21.32,4.92-31.62,8.83c-0.49,15.49-4.34,30.89-11.57,44.99 c12.49-7.87,25.92-13.67,39.8-17.39C213.96,97.4,215.08,85.14,214.61,72.93z"
/>
<path
d="M174.67,175.81L174.67,175.81c41.13-41.13,108.26-41.45,149.48-0.47c5.57,5.6,10.37,11.67,14.43,18.08 L198.79,333.21c10.14,6.12,21.16,10.23,32.48,12.32L351.91,224.9c5.93,24.49,3.05,50.69-8.66,73.51 c12.49-7.87,25.92-13.67,39.8-17.39c10.24-44.6-1.92-93.34-36.5-128.07c-53.76-53.52-140.95-53.53-194.62,0.14l0,0 c-20.21,20.21-46.64,30.5-73.18,30.88c-4.18,10.38-7.36,21.07-9.55,31.92C107.11,218.06,145.77,204.71,174.67,175.81z"
/>
</svg>
{% when "nuclear" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M225.87,206.36l-48.55-88.25c-46.37,25.56-77.79,74.91-77.79,131.61h100.22 C200.07,231.25,210.58,214.9,225.87,206.36z"
/>
<path
d="M300.07,249.72h99.83c0-57.19-31.97-106.91-79.01-132.28l-47.66,88.57 C288.94,214.44,299.76,230.99,300.07,249.72z"
/>
<path
d="M249.82,300.65c-8.97,0-17.41-2.4-24.73-6.59l-48.31,86.97c21.6,12.03,46.47,18.89,72.95,18.89 c25.76,0,49.99-6.49,71.18-17.91l-47.06-87.46C266.69,298.43,258.5,300.65,249.82,300.65z"
/>
<path
d="M249.86,276.03c14.11,0,25.66-11.45,25.66-25.56c0-14.02-11.55-25.76-25.66-25.76 c-14.02,0-25.56,11.74-25.56,25.76C224.3,264.58,235.85,276.03,249.86,276.03z"
/>
</svg>
{% when "meat" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M348.94,153.25c-14.61-30.67-53.4-52.6-98.94-52.6c-45.53,0-84.3,21.91-98.93,52.57 c-33.83-15-70.55-7.81-70.55-7.81s17.68,33.28,51.94,49.22c5.38,2.51,10.72,4.71,15.91,6.6c6.44-5.1,18.01-4.08,27.7,2.94 c11.02,7.98,9.86,28.39,9.86,28.39s-15.32,6.01-26.43,1.48l23.59,86.07l26.66-88.33c0,0,2.25,31.81,2.25,48.19 c0,20.82-17.8,39.1-26.99,47.15l0.08,0.3c-2.74,7.09-4.11,14.78-4.11,22.73c0,32.4,13.32,50.41,69,50.41c55.68,0,69-18.01,69-50.41 c0-7.91-1.36-15.56-4.07-22.61l0.13-0.46c-9.21-8.07-26.93-26.32-26.93-47.1c0-16.39,2.25-48.19,2.25-48.19L317,319.99L340.58,234 c-11.11,4.6-26.51-1.44-26.51-1.44s-1.16-20.41,9.86-28.39c9.7-7.03,21.29-8.03,27.72-2.92c5.21-1.9,10.56-4.11,15.97-6.62 c34.26-15.94,51.94-49.22,51.94-49.22S382.8,138.21,348.94,153.25z M217.25,366.57c-3.85,0.73-7.69-3.99-8.57-10.55 c-0.88-6.56,1.53-12.47,5.38-13.21c3.85-0.73,7.69,3.99,8.57,10.55S221.11,365.84,217.25,366.57z M291.32,356.02 c-0.88,6.56-4.72,11.28-8.57,10.55c-3.85-0.73-6.26-6.65-5.38-13.21s4.72-11.28,8.57-10.55 C289.79,343.55,292.2,349.46,291.32,356.02z"
/>
</svg>
{% when "pesticide" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M191.24,327.05l-39.8-39.8l-41.47,41.47l62.66,62.66l25.99-25.99c-5.08-8.75-8.01-18.9-8.01-29.73 C190.61,332.73,190.83,329.86,191.24,327.05z"
/>
<path
d="M390.03,328.71l-41.47-41.47l-39.8,39.8c0.41,2.81,0.63,5.68,0.63,8.6c0,10.83-2.93,20.98-8.01,29.73 l25.99,25.99L390.03,328.71z"
/>
<path
d="M250,276.26c22.92,0,42.84,13.06,52.73,32.12c34.57-18.75,58.04-55.35,58.04-97.44 c0-61.18-49.59-110.77-110.77-110.77s-110.77,49.59-110.77,110.77c0,42.09,23.47,78.69,58.04,97.44 C207.16,289.32,227.08,276.26,250,276.26z M297.28,161.32c18.4,0,33.32,18.04,33.32,40.3s-14.92,40.3-33.32,40.3 s-33.32-18.04-33.32-40.3S278.88,161.32,297.28,161.32z M169.4,201.62c0-22.26,14.92-40.3,33.32-40.3s33.32,18.04,33.32,40.3 s-14.92,40.3-33.32,40.3S169.4,223.88,169.4,201.62z"
/>
<ellipse
cx="250"
cy="335.62"
rx="46.71"
ry="46.71"
/>
</svg>
{% when "processed" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M124.37,221.51h-5.17c-0.67,0-1.3,0.18-1.96,0.25c-2.76,0.29-5.36,1.13-7.75,2.54 c-7.77,4.56-13.17,14.31-13.17,25.7c0,10.67,4.77,19.86,11.75,24.74c2.31,1.62,4.84,2.77,7.57,3.31c1.17,0.23,2.35,0.45,3.58,0.45 h3.57h0.83h15.44h29.23h192.67h15.45h0.83h3.58c1.22,0,2.4-0.21,3.56-0.45c2.73-0.53,5.26-1.68,7.57-3.3 c6.98-4.88,11.76-14.07,11.76-24.74c0-11.4-5.41-21.15-13.19-25.7c-2.39-1.4-5.01-2.24-7.75-2.53c-0.65-0.07-1.28-0.25-1.95-0.25 h-5.18h-2.25h-16.61H172.84h-29.62h-16.61H124.37z M133.8,238.98c8.49-3.49,18.02-3.64,28.89,0.85c2.71,1.12,5.46,2.92,8.3,4.71 c6.92,4.34,14.35,8.62,22.94,2.91c4.34-2.89,9.52-6.84,14.88-7.72c10.6-1.76,20.21-1.61,29.51,4.56 c16.1,10.68,30.12,13.57,46.9,2.29c7.13-4.78,15.81-10.93,24.96-10.46c10.97,0.57,20.63,4.7,30.06,10.2 c11.58,6.74,18.07,6.64,27.44-0.37c1.43-1.07,2.92-2.27,4.51-3.66c2.45-2.14,5.34-1.86,7.52-0.49c0.45,0.28,0.89,0.54,1.26,0.91 c1.91,1.89,2.53,4.72,0.75,7.17c-0.27,0.37-0.44,0.76-0.84,1.11c-0.2,0.17-0.38,0.31-0.59,0.49c-4.39,3.79-8.56,6.81-12.71,9 c-9.24,4.86-18.43,5.26-30.19-1.58c-14.54-8.48-27.34-14.22-42.66-3.92c-8.07,5.42-16.84,11.27-26.88,11.94 c-12.47,0.83-21.55-2.62-31.83-9.44c-18.57-12.3-29.44-1.02-46.43,5.66c-8.35,3.28-13.97-0.94-19.67-5.23 c-2.73-2.06-5.49-4.14-8.57-5.42c-12.62-5.23-21.46-4.19-29.53,1.93c-3.34,2.53-6.56,5.85-9.85,10.09 c-0.47,0.6-0.99,0.96-1.51,1.3c-0.3,0.2-0.59,0.37-0.9,0.49c-2.26,0.85-4.65-0.29-6.16-2.33c-1.52-2.05-2.03-4.88-0.45-7.48 c0.14-0.23,0.17-0.45,0.33-0.68c1.61-2.07,3.26-4.01,4.96-5.8c0.51-0.53,1.04-0.94,1.55-1.45 C124.13,244.33,128.78,241.05,133.8,238.98z"
/>
<path
d="M148,338.68c5.24,1.74,10.69,2.77,16.32,2.77h171.36c25.76,0,48.22-19.41,60.13-48.05h-5.61h-23.29H151.63 h-18.55h-23.29h-5.6C113.49,315.79,129.25,332.44,148,338.68z"
/>
<path
d="M148,161.32c5.24-1.74,10.69-2.77,16.32-2.77h171.36c25.76,0,48.22,19.41,60.13,48.05h-5.61h-23.29H151.63 h-18.55h-23.29h-5.6C113.49,184.21,129.25,167.56,148,161.32z"
/>
</svg>
{% when "tobak" %}
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<rect
x="130.78"
y="267.87"
width="171.39"
height="57.76"
/>
<path
d="M342.82,209c7.81-8.02,12.55-18.56,12.55-30.11c0-25.13-22.42-45.5-50.08-45.5c-3.51,0-6.94,0.33-10.25,0.96 c-11.31-19.74-34.01-33.22-60.2-33.22c-37.47,0-67.84,27.59-67.84,61.63s30.37,61.63,67.84,61.63c0.75,0,1.48-0.03,2.22-0.05 c0.35,0.01,0.72,0.02,1.11,0.02c0.01,0,0.71,0,1.79,0c-0.01-0.02-0.02-0.03-0.03-0.05c-3.15-5.97-1.71-12.62,0.11-20.96 c-11.64-1.35-20.52-8.61-25.3-13.13c-7.71-7.28-12.13-17.44-12.12-27.89c-0.01-9.42,3.28-18.89,9.01-25.98 c4.9-6.05,13.87-13.24,28.97-13.53c0,0-25.1,9.29-25.1,39.51c0,24.51,41.26,28.42,47.28,29.27c-5.84,8.36-8.5,30.05,6.77,32.76 c10.27,0,23.36,0,34.7,0c0.35,0.01,0.69,0.02,1.04,0.02c0.35,0,0.7-0.02,1.05-0.02c13.01,0,23.21,0,23.22,0 c17.54,0.04,21.26,9.98,21.29,18.29v82.84h17.78v-82.87C368.58,225.21,360.35,211.15,342.82,209z"
/>
<polygon
points="317.86,325.4 335.89,325.49 335.89,267.05 317.86,266.95 "
/>
</svg>
{% when "weapon" %}
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500">
<path
d="M250,399.91c65.42,0,119.03-50.59,123.85-114.78h-247.7C130.97,349.32,184.58,399.91,250,399.91z"
/>
<path
d="M294.61,159.76v-52.42h-74.17c-12.8-12.02-30-19.4-48.91-19.4c-39.44,0-71.53,32.09-71.53,71.53 c0,12.95,3.48,25.1,9.53,35.59c-12.8,21.59-19.43,45.24-19.43,69.96h20c0-18.79,4.31-36.55,12.85-53.13 c4.45,4.13,9.42,7.7,14.8,10.6c-6.22,13.11-10.22,27.48-11.5,42.63h247.5C369.68,216.87,338.03,176.48,294.61,159.76z M116,159.47 c0-30.62,24.91-55.53,55.53-55.53c12.74,0,24.48,4.32,33.86,11.56v8.56h-15.44l-1.95,0.87c-1,0.45-24.8,11.2-48.75,33.59 c-7.24,6.77-13.7,13.88-19.38,21.29C117.39,173.51,116,166.65,116,159.47z M131.42,197.81c5.83-8.44,12.85-16.53,21.05-24.26 c17.95-16.9,36.19-26.66,41.88-29.49h11.04v15.7c-24.76,9.53-45.69,26.76-59.86,48.75C140.26,205.71,135.51,202.09,131.42,197.81z"
/>
</svg>
{% endcase %}

31
_includes/ethos.html Normal file
View file

@ -0,0 +1,31 @@
<section id="ethossection">
<h2 class="editable">
Kategorier
</h2>
<p style="text-align:center" class="editor-link"><a href="cloudcannon:collections/_data/ethos_ordning.yml" rel="nofollow" class="btn"><strong>&#9998;</strong>
Edit order</a></p><br />
<div class="ethos-flex">
{% 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 %}
<div class="ethos">
<div class="icon">
<a href="{{ etho.url }}" alt="{{ etho.title }}" class="st1">
{% capture name -%}{{ etho.relative_path | replace_first: etho.collection, '' | replace_first: '_/', '' | replace_first: '.md', '' }}{%- endcapture %}
{% include ethoicon-selector.html icon=name %}
</a>
</div>
<div class="cartouche">
<h3>{{ etho.title }}</h3>
<p>{{ etho.description }}</p>
<p class="editor-link"><a href="cloudcannon:collections/{{ etho.path }}" rel="nofollow" class="btn"><strong>&#9998;</strong>
Edit Ethos</a></p>
</div>
</div>
{% break %} {% endif %} {% endfor %} {% endfor %}
</div>
</section>

View file

@ -1,32 +1,35 @@
<!-- Footer -->
{% unless page.collection == 'tracks' %}
{% include streamer.html %}
{% endunless %}
<!-- Footer -->
<footer>
<div>
<h3>{{ site.title }}</h3>
<p>{{ site.description }}</p>
<ul>
{% if page.url != '/' %}
<li><a href="{{ relBase }}/">Home</a></li>
{% endif %}
{% for entry in site.data.navigation %}
<li><a href="{{ entry.url }}">{{ entry.name }}</a></li>
{% endfor %}
</ul>
</div>
<div><img src="{{ relBase }}{{ site.banner-vert }}" width="100%" alt="{{ site.title }} Logo" /></div>
<div style="text-align: center;">
{% for nw in site.data.social %}
<a target="_blank" alt="{{ site.title }} on {{ nw.name }}" title="{{ site.title }} on {{ nw.name }}" rel="{% if nw.url contains 'mastodon.art' %}me {% endif %}noopener"
href="{{ nw.url }}" class="icon small fab {{ nw.icon }}"><span class="label">{{ nw.name }}</span></a>
{% endfor %}
<a target="_blank" alt="email" title="email" href="mailto:{{ site.social.mail }}" class="icon small fas fa-envelope-open-text"><span
class="label">Email</span></a>
</div>
<small>
<div class="footframe">
<div>
<h3>{{ site.title }}</h3>
<p>{{ site.description }}</p>
<ul>
{% if page.url != '/' %}
<li><a href="{{ relBase }}/">🏡 Home</a></li>
{% endif %}
{% for entry in site.data.navigation %}
<li><a href="{{ entry.url }}" {% if entry.external_site == true %} target="_blank" rel="noopener"
{% endif %}>{{ entry.icon }} {{ entry.name }}</a></li>
{% endfor %}
</ul>
</div>
<p>&copy;{{ site.time | date: '%Y' }} {{ site.publisher.name }} | <a href="{{ relBase }}/webcreds/">Credits</a> | <a
href="{{ relBase }}/cookies/">Cookies & Privacy</a></p>
</small>
<div><a href="#main-wrapper"><img src="{{ relBase }}{{ site.icon }}" alt="{{ site.title }} Logo" /></a></div>
<small>
<div style="text-align: center;">
{% for nw in site.data.social %}
<a target="_blank" alt="{{ site.title }} on {{ nw.name }}" title="{{ site.title }} on {{ nw.name }}" rel="{% if nw.url contains 'mastodon.art' %}me {% endif %}noopener"
href="{{ nw.url }}" class="icon small fab {{ nw.icon }}"><span class="label">{{ nw.name }}</span></a>
{% endfor %}
<a target="_blank" alt="email" title="email" href="mailto:{{ site.social.mail }}" class="icon small fas fa-envelope-open-text"><span
class="label">Email</span></a>
</div>
<p>&copy;{{ site.time | date: '%Y' }} {{ site.publisher.name }} | <a href="{{ relBase }}/webcreds/">Credits</a> |
<a href="{{ relBase }}/cookies/">Cookies & Privacy</a>
<br />This page was last updated on {{ page.last_modified_at | date: "%A, %b %d, %Y" }}</p>
</small>
</div>
</footer>

View file

@ -1,23 +1,33 @@
<header class="hero" {% unless page.video_path %}style="background-image: url({{ page.image }});"{% endunless %}>
<div class="textcontainer">
<h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
{% if page.category == 'releases' %}
<p><a href="#plwrap" class="button">Listen</a></p>
{% endif %}
{% if page.category == 'ramblings' %}
<p><a href="#read" class="button">Read</a></p>
{% endif %}
{% if page.url == '/404/' %}
<p><a href="/" class="button">Take me home</a></p>
{% endif %}
</div>
{% include relBase.html %}
<header class="hero" id="top"
style="{% unless page.video_path %}background-image: url({{ page.image }});{% endunless %}">
<div class="imagecontainer">
<h4>{{ page.title }}</h4>
</div>
{% if page.video_path %}
<video autoplay muted loop id="myVideo">
<source src="{{ page.video_path }}" type="video/mp4">
</video>
{% endif %}
</header>
</header>
<section class="splash">
<div class="container">
<div class="splash-logo" {% unless page.url == '/' %}style="display: none;"{% endunless %}>
<img src="{{ site.logo }}" width="240px" alt="{{ site.title }} Logo" />
</div>
<div {% unless page.url == '/' %}style="padding: 0;"{% endunless %}>
<h1>{{ page.title }}</h1>
{% if page.category == 'releases' %}
<h4>by <strong>{{ page.artist }}</strong></h4>
{% endif %}
{% unless page.category == 'releases' %}
<p>{{ page.description }}</p>
{% endunless %}
</div>
</div>
</section>

View file

@ -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);
})();

View file

@ -1,7 +1,7 @@
<!-- Navigation -->
<div id="sticky" class="logo{% if page.collection == 'tracks' %} sticky{% endif %}">
<a id="logo" href="/"><img height="40px" src="{{ site.banner }}" alt="{{ site.title }} Logo" /></a>
<a id="logo" {% if page.url != '/' %}href="/"{% else %}href="#top"{% endif %}><img height="40px" src="{{ site.logo }}" alt="{{ site.title }} Logo" /></a>
<a href="#navbar" onclick="blurBody()" alt="Navigation Menu" title="Navigation Menu"><span
class="fas fa-bars navmenu"></span></a>
@ -15,13 +15,13 @@
<a href="#close" title="Close" onclick="removeBlur()" class="close-button">X</a>
<ul>
{% if page.url != '/' %}
<li><a href="{{ relBase }}/" class="button">home</a></li>
<li><a href="{{ relBase }}/" onclick="removeBlur()" class="button">🏡 Home</a></li>
{% endif %}
{% for entry in site.data.navigation %}
{% if entry.external_site == false %}
<li><a href="{{ relBase }}{{ entry.url }}" class="button">{{ entry.name }}</a></li>
<li><a href="{{ relBase }}{{ entry.url }}" onclick="removeBlur()" class="button">{{ entry.icon }} {{ entry.name }}</a></li>
{% else %}
<li><a href="{{ entry.url }}" target="_blank" rel="noopener" class="button">{{ entry.name }}</a></li>
<li><a href="{{ entry.url }}" target="_blank" rel="noopener" onclick="removeBlur()" class="button">{{ entry.icon }} {{ entry.name }}</a></li>
{% endif %}
{% endfor %}

View file

@ -1,4 +1,3 @@
<!-- Scripts -->
{% include relBase.html %}
<script src="{{ relBase }}/assets/js/set-20200805.js"></script>
<script src="{{ relBase }}/assets/js/set-20200911.js"></script>

View file

@ -135,7 +135,7 @@
<meta name="twitter:description" content="Listen and to a release by {{ artist | uniq }} named &quot;{{ album.name | xml_escape }}&quot; and support your remote artist!" />
<meta name="twitter:image" content="{{ site.mediaurl }}/{{ album.tracks[0].slug }}.jpeg" />
{% endif %}{% endfor %}
{% elsif page.category == 'ramblings' %}
{% elsif page.category == 'highlights' %}
<!-- BEGIN seo.html -->
<title>{{ page.title }} | {{ site.title }}</title>