X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=6be2a2ea7ef628a18e3f49c5ad2b15299cfbebd4;hb=bcba6bd353161fab456b423e93571ab027d5423c;hp=6c30d1bf8a432052df87b14709249e62e786ef51;hpb=e664865e2e1a88846e56f930095dfe4ff210596a;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 6c30d1bf..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -3,31 +3,35 @@ - - - - - + + + + + +{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)} {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} - {if="$link.thumbnail"} + {if="!empty($link.thumbnail)"} {/if} {if="!$hide_timestamps || $is_logged_in"} - {if="$link.updated"} + {if="!empty($link.updated)"} {/if} {/if}