1
1
mirror of https://github.com/xplosionmind/quitsocialmedia.club.git synced 2024-12-29 09:30:34 +01:00
quitsocialmedia.club/_layouts/wrapper.html

55 lines
2.0 KiB
HTML
Raw Normal View History

2020-12-31 20:03:57 +01:00
---
layout: compress
2020-12-31 20:03:57 +01:00
---
2020-09-17 14:41:50 +02:00
<!DOCTYPE html>
2020-12-31 20:03:57 +01:00
<html lang="{% if page.lang == 'it' %}it{% else %}en{% endif %}">
2020-09-17 14:41:50 +02:00
2020-12-31 20:03:57 +01:00
{% include head.html %}
2020-09-17 14:41:50 +02:00
2020-12-31 20:03:57 +01:00
<body>
{% include theme-toggle.html %}
2021-02-01 19:07:20 +01:00
<a id="scroll-to-top" href="#" title="scroll to top">
2021-01-01 01:48:06 +01:00
<svg class="top button tool" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="background:var(--background)"><path d="M18 15a1 1 0 0 1-.64-.23L12 10.29l-5.37 4.32a1 1 0 0 1-1.41-.15 1 1 0 0 1 .15-1.41l6-4.83a1 1 0 0 1 1.27 0l6 5a1 1 0 0 1 .13 1.41A1 1 0 0 1 18 15z" fill="var(--text)"/></svg>
2020-12-31 20:03:57 +01:00
</a>
2021-02-01 19:07:20 +01:00
<a id="scroll-to-bottom" href="#0" title="scroll to bottom">
<svg class="bottom button tool" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="background:var(--background)"><path d="M18 15a1 1 0 0 1-.64-.23L12 10.29l-5.37 4.32a1 1 0 0 1-1.41-.15 1 1 0 0 1 .15-1.41l6-4.83a1 1 0 0 1 1.27 0l6 5a1 1 0 0 1 .13 1.41A1 1 0 0 1 18 15z" fill="var(--text)"/></svg>
</a>
<script>
scrollbottom = document.getElementById("scroll-to-bottom");
window.onscroll = function() {scroll()};
function scroll() {
if (document.body.scrollTop > 1000 || document.documentElement.scrollTop > 1000) {
scrollbottom.style.display = "none";
} else {
scrollbottom.style.display = "block";
}
}
</script>
2021-02-11 11:35:06 +01:00
{% comment %}
2020-12-31 20:03:57 +01:00
<input id="search" rel="search" type="search" class="tool" />
2021-02-10 12:10:40 +01:00
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@algolia/algoliasearch-netlify-frontend@1/dist/algoliasearchNetlify.js"></script>
<script type="text/javascript">
algoliasearchNetlify({
appId: 'RGL65NK0OK',
apiKey: 'a3a856d5e19b018ae4ccfa9e7152af98',
siteId: 'c5a2f8f0-e22a-4ae4-82e4-bcdea06adf7c',
branch: 'main',
selector: 'input#search',
});
2021-02-10 15:23:23 +01:00
</script>
2021-02-11 11:35:06 +01:00
{% endcomment %}
2020-12-31 20:03:57 +01:00
{% include nav.html %}
2020-09-17 14:41:50 +02:00
2020-12-31 20:03:57 +01:00
{% if page.tags contains 'draft' or page.tags contains 'wip' %}
{% include draft.html %}
{% endif %}
2020-09-17 14:41:50 +02:00
2021-01-01 12:53:46 +01:00
{% if page.tags contains 'l10n' %}
{% include l10n.html %}
{% endif %}
2020-12-31 20:03:57 +01:00
{{ content }}
{% include footer.html %}
</body>
2021-02-11 11:35:06 +01:00
</html>