X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=6be2a2ea7ef628a18e3f49c5ad2b15299cfbebd4;hb=9e55beebfdbc7c8db8590792479689322b92a235;hp=d3d3c86fd713732389b7b61d34e86b3f52048794;hpb=e0e24335f7b72afb388fbb180596675fc1b2182c;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index d3d3c86f..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -3,19 +3,23 @@ - - - - - + + + + + +{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)} @@ -27,7 +31,7 @@ {/if} {if="!$hide_timestamps || $is_logged_in"} - {if="$link.updated"} + {if="!empty($link.updated)"} {/if} {/if}