From e7d7b6e80df9180937889078d177dfbc150f0698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sun, 9 Oct 2022 17:20:24 +0100 Subject: [PATCH 1/2] External links will open on a new tab --- layouts/_default/_markup/render-link.html | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 layouts/_default/_markup/render-link.html diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 00000000..555c0244 --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1,3 @@ + + {{ .Text | safeHTML }} + From 5005274953d3ad912eda64fd69eccec703547f45 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:43:53 +1100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A9=B9=20Remove=20whitespace=20around?= =?UTF-8?q?=20link=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/_markup/render-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 555c0244..ecf655ea 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,3 +1,3 @@ - {{ .Text | safeHTML }} + {{- .Text | safeHTML -}}