From cb8f547e5475367ded301ff43aceba0a4500ccc9 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 11 Jun 2020 09:24:05 -0400 Subject: [PATCH] Chore: render-link variable rename (#276) --- layouts/_default/_markup/render-link.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 23c6f15..a2af0fe 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,10 +1,10 @@ -{{ $isRemote := hasPrefix .Destination "http" -}} +{{ $isExternal := hasPrefix .Destination "http" -}} {{- .Text | safeHTML -}} - {{ if $isRemote -}} + {{ if $isExternal -}} {{- end -}} \ No newline at end of file