aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-12-02 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-12-02 00:00:00 +0000
commite937904459459ae93cc85ac4b642b978c6687c9c83c09bda8fdcdec5b3690f62 (patch)
treed8416c55c46f83c8d60b1761d84da58f5c0df3102e3e9d4ebcaaac186a65faff
parent444f2c5a41659e23398e4fe873c3d1f623d23c6ade88b8f1a92da16e6a20eece (diff)
Add referrerpolicy="noreferrer" to images
-rw-r--r--layouts/_default/_markup/render-image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index 9056793..590c9bf 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -1 +1 @@
-<img src="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }} alt="{{ .Text }}" loading="lazy"> \ No newline at end of file
+<img src="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }} alt="{{ .Text }}" referrerpolicy="no-referrer" loading="lazy"> \ No newline at end of file