2019-09-30 15:38:41 +03:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
# The page layout
|
|
|
|
---
|
|
|
|
|
2020-01-03 16:22:11 +03:00
|
|
|
<div class="row">
|
2019-11-25 15:56:50 +03:00
|
|
|
<div class="col-12 col-lg-11 col-xl-8">
|
2020-04-06 14:53:08 +03:00
|
|
|
<div id="page" class="post pb-5 pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4 mb-md-4">
|
2019-11-25 15:56:50 +03:00
|
|
|
{% if page.dynamic_title %}
|
2021-07-20 20:01:09 +03:00
|
|
|
<h1 class="dynamic-title">
|
|
|
|
{% if page.collection == 'tabs' %}
|
|
|
|
{%- capture tab_key -%}{{ page.url | split: '/' }}{%- endcapture -%}
|
|
|
|
{{- site.data.locales[site.lang].tabs[tab_key] | default: page.title -}}
|
|
|
|
{% else %}
|
|
|
|
{{- page.title -}}
|
|
|
|
{% endif %}
|
|
|
|
</h1>
|
2019-11-25 15:56:50 +03:00
|
|
|
<div class="post-content">
|
|
|
|
{{ content }}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
2019-09-30 15:38:41 +03:00
|
|
|
{{ content }}
|
2019-11-25 15:56:50 +03:00
|
|
|
{% endif %}
|
|
|
|
</div> <!-- #page -->
|
|
|
|
</div><!-- .col-12 -->
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2019-11-25 15:56:50 +03:00
|
|
|
{% include panel.html %}
|
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
|
|
|
|
2020-03-06 20:25:08 +03:00
|
|
|
{% if site.disqus.comments and page.comments %}
|
2020-02-27 10:47:57 +03:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-11 col-xl-8">
|
|
|
|
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4">
|
|
|
|
|
2020-03-06 20:25:08 +03:00
|
|
|
{% include disqus.html %}
|
2020-02-27 10:47:57 +03:00
|
|
|
|
|
|
|
</div> <!-- .pl-1 pr-1 -->
|
|
|
|
</div> <!-- .col-12 -->
|
|
|
|
</div> <!-- .row -->
|
2020-03-06 20:25:08 +03:00
|
|
|
{% endif %}
|