From 881931eb115fdf80beeaa72bb39825805d36a77c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 7 Feb 2025 22:15:38 +0100 Subject: [PATCH] button: cleanup #1008 --- layouts/partials/shortcodes/button.html | 18 ++++++++---------- layouts/partials/version.txt | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/layouts/partials/shortcodes/button.html b/layouts/partials/shortcodes/button.html index 514c965f7a..8d3c2c0733 100644 --- a/layouts/partials/shortcodes/button.html +++ b/layouts/partials/shortcodes/button.html @@ -24,8 +24,6 @@ {{- else if not $href }} {{- else }} {{- $isLink = true }} - {{- /* target will be boolean false if no user defined value was set and effect default should be applied */}} - {{- $target := false }} {{- $u := urls.Parse .href }} {{- if $u.IsAbs }} {{- partialCached "_relearn/urlExists.gotmpl" (dict "url" .href "page" $page "type" "link") $u.String }} @@ -58,15 +56,15 @@