From 8ddab5e8e29f8bebe62c88cec7757561f83de6e5 Mon Sep 17 00:00:00 2001 From: Sebastian Pech Date: Sun, 12 Apr 2020 13:57:47 +0200 Subject: external link in new window --- layouts/_default/_markup/render-link.html | 1 + 1 file changed, 1 insertion(+) 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 0000000..d1eef46 --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }}{{ if strings.HasPrefix .Destination "https://amzn.to" }} {{ end }}{{ if strings.HasPrefix .Destination "https://github" }} {{ end }} \ No newline at end of file -- cgit v1.2.3