1
1
mirror of https://github.com/xplosionmind/quitsocialmedia.club.git synced 2024-12-22 21:37:55 +01:00
quitsocialmedia.club/_layouts/page.html

47 lines
924 B
HTML

---
layout: wrapper
---
<div class="one column">
<div class="row page-header">
<h1>{{ page.title }}</h1>
<p>{{ page.description | markdownify }}</p>
</div>
{% if page.toc == true %}
<div class="row toc">
<h2>
{% if page.lang == 'it' %}
Indice
{% else %}
Table of contents
{% endif %}
</h2>
{% include toc.html html=content sanitize=true %}
</div>
{% endif %}
{% if page.ref == 'why' %}
<div class="row toc">
<h2>
{% if page.lang == 'it' %}
Indice
{% else %}
Table of contents
{% endif %}
</h2>
{% include toc.html html=content sanitize=true h_max=2 %}
</div>
{% endif %}
<div class="row">
<article class="note">
{% include anchor-parser.html html=content h_max=4 anchorBody="#" anchorClass="anchor" anchorTitle="%heading%" %}
</article>
</div>
<div class="row">
{% include edit.html %}
{% include share.html %}
</div>
</div>