From cda43d557f596650a60147446c14289933729216 Mon Sep 17 00:00:00 2001 From: Simon C Date: Fri, 22 Oct 2021 17:04:26 +0200 Subject: [PATCH] feat: Remove blank parameter it's a bad practice, why it's here ? --- layouts/_default/_markup/render-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 1afa930..bf983a3 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -8,7 +8,7 @@ {{- if $isWebLink -}} {{ $hasSlash := in .Destination "/" }} {{ $link := cond (and $isWebLink (and (not $hasSlash) (not $isExternalLink))) (path.Join "/" .Page.File.Dir .Destination) .Destination }} - {{ .Text | safeHTML }} + {{ .Text | safeHTML }} {{- else if $isMailtoLink -}} {{ partial "contact/mail" .Destination }} {{- else if $isTelLink -}}