2019-09-30 15:38:41 +03:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
---
|
|
|
|
|
2023-05-06 02:22:29 +03:00
|
|
|
{% include lang.html %}
|
2023-03-31 01:41:51 +03:00
|
|
|
{% include origin-type.html %}
|
2021-12-01 16:48:57 +03:00
|
|
|
|
2023-06-28 15:21:30 +03:00
|
|
|
{% if layout.tail_includes %}
|
|
|
|
{% assign has_tail = true %}
|
|
|
|
{% endif %}
|
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
<div class="row">
|
2021-12-01 16:48:57 +03:00
|
|
|
<!-- core -->
|
2023-09-06 20:58:03 +03:00
|
|
|
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 px-md-4">
|
2023-03-18 01:28:44 +03:00
|
|
|
{% capture padding %}
|
2023-04-10 05:54:27 +03:00
|
|
|
{% unless page.layout == 'home' %}px-1{% endunless %}
|
2023-03-18 01:28:44 +03:00
|
|
|
{% endcapture %}
|
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
<div class="post {{ padding | strip }} {% unless has_tail %} flex-grow-1 mb-5{% endunless %}">
|
2023-05-06 02:22:29 +03:00
|
|
|
{% capture _content %}
|
2023-09-06 20:58:03 +03:00
|
|
|
{% if layout.refactor or page.layout == 'page' %}
|
|
|
|
{% include refactor-content.html content=content lang=lang %}
|
|
|
|
{% else %}
|
|
|
|
{{ content }}
|
|
|
|
{% endif %}
|
|
|
|
{% endcapture %}
|
2021-12-13 16:55:19 +03:00
|
|
|
|
2023-05-06 02:22:29 +03:00
|
|
|
{% 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="post-content">
|
|
|
|
{{ _content }}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2021-12-13 16:55:19 +03:00
|
|
|
{{ _content }}
|
2023-05-06 02:22:29 +03:00
|
|
|
{% endif %}
|
2021-12-01 16:48:57 +03:00
|
|
|
</div>
|
2023-05-06 02:22:29 +03:00
|
|
|
</div>
|
|
|
|
<!-- #core-wrapper -->
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2022-09-12 23:13:15 +03:00
|
|
|
<!-- panel -->
|
2023-04-10 05:54:27 +03:00
|
|
|
<div id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
|
2021-12-01 16:48:57 +03:00
|
|
|
<div class="access">
|
2023-06-19 09:41:40 +03:00
|
|
|
{% include_cached update-list.html lang=lang %}
|
|
|
|
{% include_cached trending-tags.html lang=lang %}
|
2021-12-01 16:48:57 +03:00
|
|
|
</div>
|
|
|
|
|
2022-09-12 23:13:15 +03:00
|
|
|
{% for _include in layout.panel_includes %}
|
2021-12-01 16:48:57 +03:00
|
|
|
{% assign _include_path = _include | append: '.html' %}
|
2023-05-06 02:22:29 +03:00
|
|
|
{% include {{ _include_path }} lang=lang %}
|
2021-12-01 16:48:57 +03:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2019-11-25 15:56:50 +03:00
|
|
|
</div>
|
2020-02-27 10:47:57 +03:00
|
|
|
|
2023-09-06 20:58:03 +03:00
|
|
|
<div class="row">
|
|
|
|
<!-- tail -->
|
|
|
|
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 px-md-4{% if has_tail%} mt-5{% endif %}">
|
|
|
|
{% if has_tail %}
|
2023-05-06 02:22:29 +03:00
|
|
|
{% for _include in layout.tail_includes %}
|
|
|
|
{% assign _include_path = _include | append: '.html' %}
|
|
|
|
{% include {{ _include_path }} lang=lang %}
|
|
|
|
{% endfor %}
|
2023-09-06 20:58:03 +03:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% include_cached footer.html lang=lang %}
|
2021-12-01 16:48:57 +03:00
|
|
|
</div>
|
2023-09-06 20:58:03 +03:00
|
|
|
</div>
|