_layouts/page.html in jekyll-theme-chirpy-5.2.1 vs _layouts/page.html in jekyll-theme-chirpy-5.3.0
- old
+ new
@@ -7,22 +7,23 @@
{% include assets-origin.html %}
<div class="row">
<!-- core -->
- <div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4">
+ <div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4 pb-5">
<div class="post pl-1 pr-1 pl-md-2 pr-md-2">
{% 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'%}
+ {% if 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">
@@ -33,18 +34,18 @@
{% endif %}
</div>
</div> <!-- #core-wrapper -->
- <!-- pannel -->
+ <!-- panel -->
<div id="panel-wrapper" class="col-xl-3 pl-2 text-muted">
<div class="access">
{% include update-list.html %}
{% include trending-tags.html %}
</div>
- {% for _include in layout.pannel_includes %}
+ {% for _include in layout.panel_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} %}
{% endfor %}
</div>