From 4f41b9aa5260f1de2e7db0096471fb915820bf91 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Sat, 24 Aug 2019 00:32:44 +0900 Subject: [PATCH] Removed unneeded title attributes from text links in nav and sidebar (#1224) --- src/partials/tabs-item.html | 10 ++++------ src/partials/toc-item.html | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/partials/tabs-item.html b/src/partials/tabs-item.html index d6babdd4d..5fa0f066d 100644 --- a/src/partials/tabs-item.html +++ b/src/partials/tabs-item.html @@ -24,13 +24,11 @@ {% if nav_item.is_homepage %}
  • {% if not page.ancestors | length and nav | selectattr("url", page.url) %} - + {{ nav_item.title }} {% else %} - + {{ nav_item.title }} {% endif %} @@ -50,12 +48,12 @@
  • {% if nav_item.active %} + class="md-tabs__link md-tabs__link--active"> {{ title }} {% else %} + class="md-tabs__link"> {{ title }} {% endif %} diff --git a/src/partials/toc-item.html b/src/partials/toc-item.html index 91a049314..4e7247b65 100644 --- a/src/partials/toc-item.html +++ b/src/partials/toc-item.html @@ -22,8 +22,7 @@
  • - + {{ toc_item.title }}