Skip to content

Commit 2343687

Browse files
committed
Change "table of contents" default icon and text label
1 parent 71a7ade commit 2343687

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_data/ui-text.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ en: &DEFAULT_EN
66
page : "Page"
77
pagination_previous : "Previous"
88
pagination_next : "Next"
9-
toc_label : "Overview"
9+
toc_label : "On This Page"
1010
ext_link_label : "Direct Link"
1111
less_than : "less than"
1212
minute_read : "minute read"

_includes/toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<aside class="sidebar__right">
22
<nav class="toc" markdown="1">
3-
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'book' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
3+
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
44
* Auto generated table of contents
55
{:toc .toc__menu}
66
</nav>

0 commit comments

Comments
 (0)