Skip to content

Commit

Permalink
fix: 404 page missing title in tablet/desktop view
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Oct 7, 2022
1 parent 76712c0 commit 5511b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}
{% endcapture %}

{% if page.collection == 'tabs' %}
{% 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">
Expand Down

0 comments on commit 5511b28

Please sign in to comment.