quitsocialmedia.club/_layouts/page.html

47 lines
924 B
HTML
Raw Normal View History

2020-09-17 14:41:50 +02:00
---
layout: wrapper
---
2021-01-01 12:53:46 +01:00
<div class="one column">
<div class="row page-header">
2020-09-17 14:41:50 +02:00
<h1>{{ page.title }}</h1>
2021-01-31 09:44:52 +01:00
<p>{{ page.description | markdownify }}</p>
2020-09-17 14:41:50 +02:00
</div>
2021-01-01 12:53:46 +01:00
{% if page.toc == true %}
<div class="row toc">
2020-12-31 20:03:57 +01:00
<h2>
{% if page.lang == 'it' %}
Indice
{% else %}
Table of contents
{% endif %}
</h2>
2021-01-01 12:53:46 +01:00
{% include toc.html html=content sanitize=true %}
</div>
{% endif %}
2021-02-11 09:59:35 +01:00
{% 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 %}
2021-01-01 12:53:46 +01:00
<div class="row">
2020-09-17 14:41:50 +02:00
<article class="note">
2021-02-01 19:07:20 +01:00
{% include anchor-parser.html html=content h_max=4 anchorBody="#" anchorClass="anchor" anchorTitle="%heading%" %}
2020-09-17 14:41:50 +02:00
</article>
</div>
2021-01-01 12:53:46 +01:00
<div class="row">
{% include edit.html %}
{% include share.html %}
</div>
2020-09-17 14:41:50 +02:00
</div>