M CHANGELOG.md => CHANGELOG.md +4 -0
@@ 6,6 6,10 @@
- Update links and fix typos in documentation. [#2186](https://github.com/mmistakes/minimal-mistakes/pull/2186)
- Add skip links. [#2182](https://github.com/mmistakes/minimal-mistakes/issues/2182)
+### Bug Fixes
+
+- Fix missing fallback title for table of contents.
+
## [4.16.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.4)
### Enhancements
M _layouts/single.html => _layouts/single.html +1 -1
@@ 37,7 37,7 @@ layout: default
{% if page.toc %}
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
<nav class="toc">
- <header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
+ <header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4></header>
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
</nav>
</aside>