diff options
author | tdro <tdro@noreply.example.com> | 2022-06-04 03:58:16 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-04 03:58:16 -0400 |
commit | 49807a0d253e5df7c12990b16cd9c1ef6aef6dab (patch) | |
tree | bf7408fbd4e8af392e9ca7839e1824af1b05df97 /themes/default/layouts/shortcodes/wikipedia.html | |
parent | 8f60938e286d5b79c73b3bbdcc900aa28da2fe84 (diff) | |
download | canory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.tar.gz canory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.tar.bz2 canory-49807a0d253e5df7c12990b16cd9c1ef6aef6dab.zip |
themes/default/layouts/shortcodes: Wrap source links in parenthesis
Diffstat (limited to 'themes/default/layouts/shortcodes/wikipedia.html')
-rw-r--r-- | themes/default/layouts/shortcodes/wikipedia.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/wikipedia.html b/themes/default/layouts/shortcodes/wikipedia.html index be91028..eab4a7b 100644 --- a/themes/default/layouts/shortcodes/wikipedia.html +++ b/themes/default/layouts/shortcodes/wikipedia.html @@ -2,7 +2,7 @@ {{- $title := default "Wikipedia Article" (.Get "title" | default (.Get 1)) -}} {{- $caption := default - (print $title ": [Link](" "https://en.m.wikipedia.org/wiki/" $id ")") + (print $title " ([Link](" "https://en.m.wikipedia.org/wiki/" $id "))") (.Get "caption" | default (.Get 2)) -}} |