crazy-toads.github.io/_layouts/default.html

61 lines
1.8 KiB
HTML
Raw Normal View History

2017-08-08 19:53:28 +00:00
<!DOCTYPE html>
<html lang="en-us">
<!--
====================================================
Homepage: {{ site.url }}
Credits: {{ site.url }}/disclosure
====================================================
-->
{% include head.html %}
2017-08-13 09:21:41 +00:00
<body class="theme-base-0b">
2017-08-08 19:53:28 +00:00
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content. -->
<div class="wrap">
<div class="masthead">
<div class="container">
<h3 class="masthead-title">
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
<!-- <small>{{ site.tagline }}</small> -->
<div class="headicons">
<small><a href="{{ site.url }}/cercles" rel="me" title="Textes">Cercles de reflexion <i class="iconm iconm-quill"></i></a></small>
2017-08-08 19:53:28 +00:00
</div>
</h3>
</div>
</div>
<div class="sidelogo">
<img src="{{ site.urlimg }}/crapauds_fous_logo.png" />
</div>
2017-08-08 19:53:28 +00:00
<div class="container content">
{{ content }}
{% include footer.html %}
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<script>
(function(document) {
var toggle = document.querySelector('.sidebar-toggle');
var sidebar = document.querySelector('#sidebar');
var checkbox = document.querySelector('#sidebar-checkbox');
document.addEventListener('click', function(e) {
var target = e.target;
if(!checkbox.checked ||
sidebar.contains(target) ||
(target === checkbox || target === toggle)) return;
checkbox.checked = false;
}, false);
})(document);
</script>
{% include scripts.html %}
</body>
</html>