X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fdefault%2Fincludes.html;h=6be2a2ea7ef628a18e3f49c5ad2b15299cfbebd4;hb=9b8c0a4560fa1d87cab1529099b1b4677e92e265;hp=91c6ca3be5ba36087493d84af07e57eb398ebd30;hpb=7040169069322d72cec4276b7b812291b57a0d40;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 91c6ca3b..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -2,19 +2,40 @@ - - - - - - - - - -{if="is_file('inc/user.css')"} - + + + + + + +{if="strpos($formatter, 'markdown') !== false"} + {/if} {loop="$plugins_includes.css_files"} - + {/loop} - \ No newline at end of file +{if="is_file('data/user.css')"} + +{/if} + +{if="$template === 'linklist' && ! 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}