web/_layouts/page.html

21 lines
441 B
HTML
Raw Permalink Normal View History

2019-09-30 15:38:41 +03:00
---
layout: default
---
{% include lang.html %}
<article class="px-1">
{% if page.layout == 'page' or page.collection == 'tabs' %}
{% assign tab_key = page.title | downcase %}
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
<h1 class="dynamic-title">
{{ title }}
</h1>
<div class="content">
2023-09-29 23:46:40 +03:00
{{ content }}
2021-12-01 16:48:57 +03:00
</div>
{% else %}
2023-09-29 23:46:40 +03:00
{{ content }}
{% endif %}
</article>