summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-05-08 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-05-08 00:00:00 +0000
commit55186f386fec783d83170d13e2d44810673cc35a726c7c88c4031fd6668e43be (patch)
treebcfb853af8568bb787457ea2dc1c270be7e957215f80adb04f4b14c1a3bfd6dd /layouts/_default/_markup
parent0cff34b34570d441337624bd1174471d8117b24fc818bf24c3b5f4daaf8749f8 (diff)
downloadhugo-theme-journal-55186f386fec783d83170d13e2d44810673cc35a726c7c88c4031fd6668e43be.tar.gz
hugo-theme-journal-55186f386fec783d83170d13e2d44810673cc35a726c7c88c4031fd6668e43be.zip
Fix link rendering to include noreferrer
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r--layouts/_default/_markup/render-link.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
new file mode 100644
index 0000000..6f02037
--- /dev/null
+++ b/layouts/_default/_markup/render-link.html
@@ -0,0 +1 @@
+<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ .Text | safeHTML }}</a>