X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=102314d5ddd1ced1efda07cb69112c034feb4b5d;hb=7b8a6f2858248601d43c1b8247deb91b74392d2e;hp=6c30d1bf8a432052df87b14709249e62e786ef51;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 6c30d1bf..102314d5 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -3,18 +3,22 @@ - - - - - + + + + + +{if="$formatter==='markdown'"} + +{/if} {loop="$plugins_includes.css_files"} {/loop} {if="is_file('data/user.css')"} {/if} - + {if="! empty($links) && count($links) === 1"} {$link=reset($links)} @@ -22,12 +26,12 @@ {$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}