_layouts/page.html in jekyll-theme-chirpy-6.2.2 vs _layouts/page.html in jekyll-theme-chirpy-6.2.3
- old
+ new
@@ -1,26 +1,20 @@
---
layout: default
---
-{% capture _content %}
- {% if layout.refactor or page.layout == 'page' %}
- {% include refactor-content.html content=content lang=lang %}
- {% else %}
- {{ content }}
- {% endif %}
-{% endcapture %}
+{% include lang.html %}
<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 }}
+ {{ content }}
</div>
{% else %}
- {{ _content }}
+ {{ content }}
{% endif %}
</article>