X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=cdbfeea1962fa49bd052663167692f5ed8487884;hb=7b2ba6ef820335df682fbe3dcfaceef3a62cf4a5;hp=0350ef6681371e7a24263e29c8e29be8d2b5cef7;hpb=3aa7aa0ef0c1351815a827777e752615f5781545;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 0350ef66..cdbfeea1 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -2,19 +2,39 @@ - - + + + - - - - - - -{if="is_file('data/user.css')"} - + + +{if="$formatter==='markdown'"} + {/if} {loop="$plugins_includes.css_files"} - + {/loop} - \ No newline at end of file +{if="is_file('data/user.css')"} + +{/if} + +{if="! empty($links) && count($links) === 1"} + {$link=reset($links)} + + + + {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} + + {if="!empty($link.thumbnail)"} + + {/if} + {if="!$hide_timestamps || $is_logged_in"} + + {if="!empty($link.updated)"} + + {/if} + {/if} + {loop="link.taglist"} + + {/loop} +{/if}