X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=6be2a2ea7ef628a18e3f49c5ad2b15299cfbebd4;hb=9e55beebfdbc7c8db8590792479689322b92a235;hp=227f9b52ae805080ec089ff59b1d2e16d0ee0dfd;hpb=1b8620b1ad4e2c647ff2d032c8e7c6687b6647a1;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 227f9b52..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -8,18 +8,18 @@ -{if="$formatter==='markdown'"} +{if="strpos($formatter, 'markdown') !== false"} {/if} {loop="$plugins_includes.css_files"} - + {/loop} {if="is_file('data/user.css')"} - + {/if} -{if="! empty($links) && count($links) === 1"} +{if="$template === 'linklist' && ! empty($links) && count($links) === 1"} {$link=reset($links)}