From: ArthurHoaro Date: Tue, 19 Jan 2021 10:48:29 +0000 (+0100) Subject: Merge pull request #1688 from ArthurHoaro/fix/bulk-single-url X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=31c4be2b60b3cf5b44fab7abd4ef06e2c3fe8c7c;hp=2fbdb7d657a37884b8bbd0162b1d79db6aeba726;p=github%2Fshaarli%2FShaarli.git Merge pull request #1688 from ArthurHoaro/fix/bulk-single-url --- diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 3e3fb664..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -19,7 +19,7 @@ {/if} -{if="! empty($links) && count($links) === 1"} +{if="$template === 'linklist' && ! empty($links) && count($links) === 1"} {$link=reset($links)} diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 2ce9da42..4fd78467 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html @@ -16,7 +16,7 @@ {if="is_file('data/user.css')"}{/if} -{if="! empty($links) && count($links) === 1"} +{if="$template === 'linklist' && ! empty($links) && count($links) === 1"} {$link=reset($links)}