From 822198a7df8d80b65618e33c6af0362937247543 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 6 Feb 2021 23:09:10 +0000 Subject: [PATCH] Add noreferrer to image tags This doesn't cover the magical div ones, but it's a start --- layouts/_default/_markup/render-image.html | 2 +- layouts/_default/flickr.html | 2 +- layouts/partials/bmac-pill.html | 2 +- layouts/shortcodes/mermaid.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 8c0788c..6782701 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -8,7 +8,7 @@
- {{ .Text | plainify }} + {{ .Text | plainify }}
{{ .Text | markdownify }} diff --git a/layouts/_default/flickr.html b/layouts/_default/flickr.html index 68e3e12..50cc7bb 100644 --- a/layouts/_default/flickr.html +++ b/layouts/_default/flickr.html @@ -12,7 +12,7 @@ diff --git a/layouts/partials/bmac-pill.html b/layouts/partials/bmac-pill.html index 8982d11..87e7cc5 100644 --- a/layouts/partials/bmac-pill.html +++ b/layouts/partials/bmac-pill.html @@ -1,3 +1,3 @@ - Buy Me A Coffee + Buy Me A Coffee diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 7258230..df7e58c 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -3,7 +3,7 @@ {{ $data := dict "code" .Inner "mermaid" $mermaidData }}
- +
{{ .Get "caption" }}