diff options
| -rw-r--r-- | i18n/en.toml | 3 | ||||
| -rw-r--r-- | i18n/ru.toml | 3 | ||||
| -rw-r--r-- | layouts/partials/sidebar-toc.html | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index bbdff71..eb86647 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,9 +1,6 @@ [home] other = 'Home' -[top] - other = 'Return to Top' - [more] other = 'Read more...' diff --git a/i18n/ru.toml b/i18n/ru.toml index abddef4..1920721 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -1,9 +1,6 @@ [home] other = 'На главную' -[top] - other = 'Вернуться наверх' - [more] other = 'Читать далее...' diff --git a/layouts/partials/sidebar-toc.html b/layouts/partials/sidebar-toc.html index 6306ec4..892eadf 100644 --- a/layouts/partials/sidebar-toc.html +++ b/layouts/partials/sidebar-toc.html @@ -9,7 +9,6 @@ {{ $toc := .Page.TableOfContents }} {{ $home := printf `<a class="sidebar-nav-item" href="%s">%s</a>` site.Home.RelPermalink (i18n "home") | safeHTML }} - {{ $top := printf `<a class="sidebar-nav-item" href="#" data-proofer-ignore>%s</a>` (i18n "top") | safeHTML }} {{ $toc = $toc | replaceRE `id="TableOfContents"` `class="sidebar-nav"` | safeHTML }} {{ $toc = $toc | replaceRE "(<[/]?ul>|<[/]?ol>|<[/]?li>)" "" | safeHTML }} |
