_layouts/page.html in jekyll-theme-chirpy-4.1.1 vs _layouts/page.html in jekyll-theme-chirpy-4.2.0
- old
+ new
@@ -8,10 +8,10 @@
<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">
{% if page.dynamic_title %}
<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 -}}
+ {{- site.data.locales[lang].tabs[tab_key] | default: page.title -}}
{% else %}
{{- page.title -}}
{% endif %}
</h1>
<div class="post-content">