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 @@