2020-09-17 14:41:50 +02:00
|
|
|
<!DOCTYPE html>
|
2022-06-01 19:34:23 +02:00
|
|
|
<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
|
|
|
|
2022-06-01 19:34:23 +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
|
|
|
|
2022-06-01 19:34:23 +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
|
|
|
|
2022-06-01 19:34:23 +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>
|