Fix the 404 title on mobile devices

This commit is contained in:
Cotes Chung 2020-11-29 12:25:46 +08:00
parent f2efae8b01
commit 479bd72c9d

View file

@ -31,7 +31,7 @@
<div id="topbar-title"> <div id="topbar-title">
{% if page.layout == 'home' %} {% if page.layout == 'home' %}
{{- site.title -}} {{- site.title -}}
{% elsif page.collection == 'tabs' %} {% elsif page.dynamic_title %}
{{- page.title -}} {{- page.title -}}
{% else %} {% else %}
{{- page.layout | capitalize -}} {{- page.layout | capitalize -}}