1
1
mirror of https://github.com/xplosionmind/quitsocialmedia.club.git synced 2024-12-27 00:22:34 +01:00
quitsocialmedia.club/layouts/wrapper.html

37 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2020-09-17 14:41:50 +02:00
<!DOCTYPE html>
<html lang='{% case lang %}{% when 'it' %}it{% when 'fr' %}fr{% else %}en{% endcase %}' prefix='og: http://ogp.me/ns#' dir='ltr'>
2020-09-17 14:41:50 +02:00
{% if ref %}
{% for entry in collections.all %}
{% if entry.data.ref == ref and entry.data.lang != lang %}
{% assign alternates = alternates | concat: entry %}
{% endif %}
{% endfor %}
{% endif %}
2023-04-12 21:58:52 +02:00
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternates: alternates, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
2020-09-17 14:41:50 +02:00
2020-12-31 20:03:57 +01:00
<body>
2023-04-12 21:58:52 +02:00
{% render 'nav.liquid', lang: lang, site.title: site.title %}
2020-09-17 14:41:50 +02:00
{% if tags contains 'draft' or tags contains 'wip' %}
{% render 'draft.html', lang: lang, title: title, source: source %}
2020-12-31 20:03:57 +01:00
{% endif %}
2020-09-17 14:41:50 +02:00
{% if tags contains 'l10n' %}
{% render 'l10n.html', lang: lang, source: source %}
2021-01-01 12:53:46 +01:00
{% endif %}
2020-12-31 20:03:57 +01:00
{{ content }}
2023-04-12 21:58:52 +02:00
<div class='row'>
{% render 'footer.html', lang: lang %}
</div>
{% render 'toolbar.liquid', lang: lang, alternates: alternates, url: page.url %}
<script src='/index.js' type='text/javascript'></script>
2020-12-31 20:03:57 +01:00
</body>
2021-02-11 11:35:06 +01:00
</html>