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

69 lines
2.1 KiB
HTML
Raw Permalink Normal View History

2017-08-08 19:53:28 +00:00
<!DOCTYPE html>
2017-09-10 22:30:43 +00:00
<html lang="fr">
2017-08-08 19:53:28 +00:00
<!--
====================================================
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">
{% if page.linktitle %}
<small><a href="{{ site.url }}{{ page.linkurl }}" rel="me">{{ page.linktitle }}</a></small>
{% else %}
<small><a href="{{ site.url }}/cercles" rel="me" title="Textes">Cercles de reflexion <i class="iconm iconm-quill"></i></a></small>
{% endif %}
2017-08-08 19:53:28 +00:00
</div>
</h3>
</div>
</div>
<div class="sidelogo">
2017-09-10 08:20:27 +00:00
{% if page.illus %}
2017-09-10 08:14:56 +00:00
<img src="{{ site.urlimg }}/{{ page.illus }}" />
{% else %}
<img src="{{ site.urlimg }}/crapaud_fou_sourire.jpg" />
{% endif %}
</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>