mirror of
https://github.com/xplosionmind/quitsocialmedia.club.git
synced 2024-12-11 08:15:56 +01:00
40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
---
|
|
layout: wrapper.html
|
|
---
|
|
<div class='one column'>
|
|
<div class='row page-header'>
|
|
<h1>{{ title }}</h1>
|
|
{% if description %}<p>{{ description | markdownify }}</p>{% endif %}
|
|
</div>
|
|
|
|
{% capture source %}{{ site.source }}/src/branch/main{{ page.inputPath | replace: './', '/' }}{% endcapture %}
|
|
|
|
{% if toc %}
|
|
<aside id='toc'>
|
|
<h3>
|
|
{% case lang %}
|
|
{% when 'it' %}
|
|
Indice
|
|
{% when 'fr' %}
|
|
Table des matières
|
|
{% else %}
|
|
Table of contents
|
|
{% endcase %}
|
|
</h3>
|
|
{{ content | toc }}
|
|
</aside>
|
|
{% endif %}
|
|
|
|
<div class='row'>
|
|
<article class='note'>
|
|
{{ content }}
|
|
</article>
|
|
</div>
|
|
|
|
<div class='row'>
|
|
<div class='flex center'><a class='button' href='{{ source }}' title='{% if lang == 'it' %}Visualizza{% else %}View{% endif %} {{ title }} source code'>{% case lang %}{% when 'it' %}Codice sorgente{% when 'fr' %}Code source{% else %}Source code{% endcase %}</a></div>
|
|
{% render 'share.html', lang: lang, title: title, encoded_absolute_url: encoded_absolute_url %}
|
|
</div>
|
|
|
|
</div>
|