X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=0f6a66280fa99c6686cb4f9d50f6866979265a7e;hb=818b3193ffabec57501e3bdfa997206e3c0671ef;hp=b2bfec30918281104cacf6c50cae5441fcc26903;hpb=d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index b2bfec30..0f6a6628 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -2,20 +2,40 @@ - - - - - - - - - - -{if="is_file('data/user.css')"} - + + + + + + +{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)} + + + + {$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}