2019-09-30 15:38:41 +03:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
|
|
|
|
2023-09-18 19:43:08 +03:00
|
|
|
{% include lang.html %}
|
|
|
|
|
2023-09-08 17:48:37 +03:00
|
|
|
{% capture _content %}
|
|
|
|
{% if layout.refactor or page.layout == 'page' %}
|
|
|
|
{% include refactor-content.html content=content lang=lang %}
|
|
|
|
{% else %}
|
|
|
|
{{ content }}
|
|
|
|
{% endif %}
|
|
|
|
{% endcapture %}
|
|
|
|
|
|
|
|
<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">
|
|
|
|
{{ _content }}
|
2021-12-01 16:48:57 +03:00
|
|
|
</div>
|
2023-09-08 17:48:37 +03:00
|
|
|
{% else %}
|
|
|
|
{{ _content }}
|
|
|
|
{% endif %}
|
|
|
|
</article>
|