fix: 404 page missing title in tablet/desktop view
This commit is contained in:
parent
76712c09cd
commit
5511b2883f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ layout: default
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% if page.collection == 'tabs' %}
|
{% if page.layout == 'page' or page.collection == 'tabs' %}
|
||||||
{% assign tab_key = page.title | downcase %}
|
{% assign tab_key = page.title | downcase %}
|
||||||
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
|
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
|
||||||
<h1 class="dynamic-title">
|
<h1 class="dynamic-title">
|
||||||
|
|
Loading…
Reference in a new issue