quitsocialmedia.club/layouts/page.html

53 lines
1.0 KiB
HTML
Raw Normal View History

2020-09-17 14:41:50 +02:00
---
layout: wrapper
---
2022-01-05 20:29:51 +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 %}
2022-01-05 20:29:51 +01:00
<div class='row toc'>
2020-12-31 20:03:57 +01:00
<h2>
2022-01-05 20:29:51 +01:00
{% case page.lang %}
{% when 'it' %}
Indice
{% when 'fr' %}
Table des matières
{% else %}
Table of contents
{% endcase %}
2020-12-31 20:03:57 +01:00
</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' %}
2022-01-05 20:29:51 +01:00
<div class='row toc'>
2021-02-11 09:59:35 +01:00
<h2>
2022-01-05 20:29:51 +01:00
{% case page.lang %}
{% when 'it' %}
Indice
{% when 'fr' %}
Table des matières
{% else %}
Table of contents
{% endcase %}
2021-02-11 09:59:35 +01:00
</h2>
{% include toc.html html=content sanitize=true h_max=2 %}
</div>
{% endif %}
2021-01-01 12:53:46 +01:00
2022-01-05 20:29:51 +01:00
<div class='row'>
<article class='note'>
{% 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
2022-01-05 20:29:51 +01:00
<div class='row'>
2021-01-01 12:53:46 +01:00
{% include edit.html %}
{% include share.html %}
</div>
2020-09-17 14:41:50 +02:00
</div>