aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorC. Lente <7017340+clente@users.noreply.github.com>2023-02-27 17:49:32 -0300
committerC. Lente <7017340+clente@users.noreply.github.com>2023-02-27 17:49:32 -0300
commit667b0026019c3800ba1585a1ef8115cad92aff10 (patch)
tree9ebbd7c13c4365c0980010fc5b16d42015b0fede /layouts/_default
parentf65d96962b4d2ff8e750cd6dceb1dc92adce665e (diff)
downloadhugo-bearcub-667b0026019c3800ba1585a1ef8115cad92aff10.tar.gz
hugo-bearcub-667b0026019c3800ba1585a1ef8115cad92aff10.tar.bz2
Open external links in another tab
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c1f1268..c251837 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -14,7 +14,7 @@
</i>
</span>
{{ if .Params.link }}
- <a href="{{ .Params.link }}">{{ .Title }}</a>
+ <a href="{{ .Params.link }}" target="_blank">{{ .Title }}</a>
{{ else }}
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ end }}