diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index dec0e3ff..bc9189ff 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,3 +1,6 @@
-{{ $target := partial "paige/target.html" (dict "page" .Page "url" .Destination) }}
+{{- $href := cond (.Destination | not | not) (printf ` href="%s"` .Destination) "" -}}
+{{- $target := partial "paige/target.html" (dict "page" .Page "url" .Destination) -}}
+{{- $targetattr := cond ($target | not | not) (printf ` target="%s"` $target) "" -}}
+{{- $title := cond (.Title | not | not) (printf ` title="%s"` .Title) "" -}}
-{{ .Text }}
+{{- printf `%s` $href $targetattr $title .Text | safeHTML -}}