From 3ceb3090311c03cf2a487ad3760d95386b4b54ff Mon Sep 17 00:00:00 2001 From: samaradel Date: Sun, 16 Jul 2023 18:11:07 +0300 Subject: [PATCH] fix external links --- templates/partials/header_custom.html | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/templates/partials/header_custom.html b/templates/partials/header_custom.html index a1fca53..964b5b5 100644 --- a/templates/partials/header_custom.html +++ b/templates/partials/header_custom.html @@ -120,9 +120,16 @@ {% if ' + {{link_label}} + + {% else %} {{link_label}} + {% endif %} + {% else %}
{% set button_id = header_label ~ "-menu-btn" | slugify %} @@ -187,9 +194,15 @@ {% if ' - {{link_label}} - + {% if header_label is containing("http") %} + + {{link_label}} + + {% else %} + + {{link_label}} + + {% endif %} {% else %} {% set button_id = header_label ~ "-mobile-menu-btn" | slugify %}