summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorIuri <iuricube@gmail.com>2026-01-07 10:45:47 +0100
committerIuri <iuricube@gmail.com>2026-01-07 10:45:47 +0100
commitda378a71c83f8d2590f190a40081719b4a20326a (patch)
tree914e0451245f04f9ee2e84db07e6ac38a02b9448 /layouts
parent37334ebd38a65f6ff6a136c5c010498059d75424 (diff)
.gitignore changed
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/__markup/render-link.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/__markup/render-link.html b/layouts/_default/__markup/render-link.html
index e69de29..4cd90be 100644
--- a/layouts/_default/__markup/render-link.html
+++ b/layouts/_default/__markup/render-link.html
@@ -0,0 +1,6 @@
+<a href="{{ .Destination | safeURL }}"
+ {{- with .Title }} title="{{ . }}"{{ end -}}
+>
+ {{- with .Text }}{{ . }}{{ end -}}
+</a>
+{{- /* chomp trailing newline */ -}} \ No newline at end of file