1
1
mirror of https://github.com/xplosionmind/quitsocialmedia.club.git synced 2024-12-12 00:35:37 +01:00
quitsocialmedia.club/layouts/page.html

38 lines
883 B
HTML
Raw Normal View History

2020-09-17 14:41:50 +02:00
---
layout: wrapper.html
2020-09-17 14:41:50 +02:00
---
2022-01-05 20:29:51 +01:00
<div class='one column'>
<div class='row page-header'>
<h1>{{ title }}</h1>
{% if desctiption %}<p>{{ description | markdownify }}</p>{% endif %}
2020-09-17 14:41:50 +02:00
</div>
2021-01-01 12:53:46 +01:00
{% if toc %}
<aside id='toc'>
<h3>
{% case lang %}
2022-01-05 20:29:51 +01:00
{% when 'it' %}
Indice
{% when 'fr' %}
Table des matières
{% else %}
Table of contents
{% endcase %}
</h3>
{{ content | toc }}
</aside>
2021-02-11 09:59:35 +01:00
{% endif %}
2021-01-01 12:53:46 +01:00
2022-01-05 20:29:51 +01:00
<div class='row'>
<article class='note'>
{{ content }}
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'>
<div class='flex center'><a class='button' href='{{ source }}' title='{% if lang == 'it' %}Visualizza{% else %}View{% endif %} {{ title }} source code'>{% if lang == 'it' %}Sorgente{% else %}Source{% endif %}</a></div>
{% render 'share.html', lang: lang, title: title, encoded_absolute_url: encoded_absolute_url %}
2021-01-01 12:53:46 +01:00
</div>
2020-09-17 14:41:50 +02:00
</div>