quitsocialmedia.club/_layouts/wrapper.html

42 lines
1.6 KiB
HTML
Raw Normal View History

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>
2020-12-31 20:03:57 +01:00
<input id="search" rel="search" type="search" class="tool" />
{% 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>
</html>