web/_layouts/page.html

65 lines
1.5 KiB
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: default
---
2021-12-01 16:48:57 +03:00
{% include lang.html %}
{% include assets-origin.html %}
2021-12-13 12:34:48 +03:00
<div class="row">
2021-12-01 16:48:57 +03:00
<!-- core -->
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4">
<div class="post pl-1 pr-1 pl-md-2 pr-md-2">
2021-12-13 16:55:19 +03:00
{% capture _content %}
{% if layout.refactor or page.layout == 'page' %}
{% include refactor-content.html content=content %}
{% else %}
{{ content }}
{% endif %}
{% endcapture %}
{% if page.layout == 'page' or page.collection == 'tabs'%}
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
2021-07-20 20:01:09 +03:00
<h1 class="dynamic-title">
2021-12-13 16:55:19 +03:00
{{ title }}
2021-07-20 20:01:09 +03:00
</h1>
2019-11-25 15:56:50 +03:00
<div class="post-content">
2021-12-13 16:55:19 +03:00
{{ _content }}
2019-11-25 15:56:50 +03:00
</div>
{% else %}
2021-12-13 16:55:19 +03:00
{{ _content }}
2019-11-25 15:56:50 +03:00
{% endif %}
2021-12-13 16:55:19 +03:00
2021-12-01 16:48:57 +03:00
</div>
</div> <!-- #core-wrapper -->
2019-09-30 15:38:41 +03:00
2021-12-01 16:48:57 +03:00
<!-- pannel -->
<div id="panel-wrapper" class="col-xl-3 pl-2 text-muted">
2021-12-01 16:48:57 +03:00
<div class="access">
{% include update-list.html %}
{% include trending-tags.html %}
</div>
{% for _include in layout.pannel_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} %}
{% endfor %}
</div>
2019-09-30 15:38:41 +03:00
2019-11-25 15:56:50 +03:00
</div>
2020-02-27 10:47:57 +03:00
2021-12-01 16:48:57 +03:00
<!-- tail -->
{% if layout.tail_includes %}
2020-02-27 10:47:57 +03:00
<div class="row">
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 pl-3 pr-3 pr-xl-4">
{% for _include in layout.tail_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} %}
{% endfor %}
2021-12-01 16:48:57 +03:00
</div>
</div>
2020-03-06 20:25:08 +03:00
{% endif %}