diff options
author | tdro <tdro@noreply.example.com> | 2022-05-26 21:46:14 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-26 21:46:14 -0400 |
commit | 459716fb25c59d1e774620646ac637d0385a54ec (patch) | |
tree | 06c95705556e3419ba38426b878141aaa912f27b /themes/default/layouts/shortcodes/self.html | |
parent | c1da8f97e193a883889bc5131e8d64ff6e137f3d (diff) | |
download | canory-459716fb25c59d1e774620646ac637d0385a54ec.tar.gz canory-459716fb25c59d1e774620646ac637d0385a54ec.tar.bz2 canory-459716fb25c59d1e774620646ac637d0385a54ec.zip |
themes/default/layouts/shortcodes/self: Allow target blank links
Diffstat (limited to 'themes/default/layouts/shortcodes/self.html')
-rw-r--r-- | themes/default/layouts/shortcodes/self.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/self.html b/themes/default/layouts/shortcodes/self.html index 9ce0d6d..078f517 100644 --- a/themes/default/layouts/shortcodes/self.html +++ b/themes/default/layouts/shortcodes/self.html @@ -1,7 +1,7 @@ {{- $url := default "" (.Get "url" | default (.Get 0)) -}} {{- $title := default "Self Embed" (.Get "title" | default (.Get 1)) -}} {{- $caption := default (print $title ": [Link](" $url ")") (.Get "caption" | default (.Get 2)) -}} -{{- $sandbox := default "" (.Get "sandbox" | default (.Get 3)) -}} +{{- $sandbox := default "allow-popups" (.Get "sandbox" | default (.Get 3)) -}} {{- if (eq $url "") -}} {{- $url = "/" -}} |