From a587282ee00cb018ec786e7e6807a1aa21f24d26 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 6 Feb 2025 16:55:58 -0800 Subject: [PATCH] Rename target to targetvalue --- layouts/_default/_markup/render-link.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 36408de3..8190f0a7 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,6 +1,6 @@ {{- $href := cond (.Destination | not | not) (printf ` href="%s"` .Destination) "" -}} -{{- $target := partial "paige/func-target.html" (dict "page" .Page "url" .Destination) -}} -{{- $targetattr := cond ($target | not | not) (printf ` target="%s"` $target) "" -}} +{{- $targetvalue := partial "paige/func-target.html" (dict "page" .Page "url" .Destination) -}} +{{- $targetattr := cond ($targetvalue | not | not) (printf ` target="%s"` $targetvalue) "" -}} {{- $title := cond (.Title | not | not) (printf ` title="%s"` .Title) "" -}} {{- printf `%s` $href $targetattr $title .Text | safeHTML -}}