From cdb426d54e3cd9f4950feabdee4d6cb0a2f209b6 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 26 Aug 2020 20:06:47 +0200 Subject: [PATCH] Fixed tabs not showing external links --- material/partials/tabs-item.html | 6 ++++++ src/partials/tabs-item.html | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/material/partials/tabs-item.html b/material/partials/tabs-item.html index 64ced43bd..248209bbb 100644 --- a/material/partials/tabs-item.html +++ b/material/partials/tabs-item.html @@ -31,4 +31,10 @@ {% endif %} {% endif %} +{% elif nav_item.url.startswith("http") %} +
  • + + {{ nav_item.title }} + +
  • {% endif %} diff --git a/src/partials/tabs-item.html b/src/partials/tabs-item.html index 08f5c9522..ee08426d4 100644 --- a/src/partials/tabs-item.html +++ b/src/partials/tabs-item.html @@ -66,4 +66,12 @@ {% endif %} {% endif %} + + +{% elif nav_item.url.startswith("http") %} +
  • + + {{ nav_item.title }} + +
  • {% endif %}