X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;fp=tpl%2Fdefault%2Fincludes.html;h=0427e2243a37bc1dc0e2085ce6996772d8a682a9;hb=e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08;hp=5ccacaafb82d1dada9c27a1ea7fac317e267e2b4;hpb=a062416918c964e7551137c08b5b5671e6e2bb7e;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 5ccacaaf..0427e224 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -15,3 +15,23 @@ {/if} +{if="! empty($links) && count($links) === 1"} + {$link=reset($links)} + + + + {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} + + {if="$link.thumbnail"} + + {/if} + {if="!$hide_timestamps || $is_logged_in"} + + {if="$link.updated"} + + {/if} + {/if} + {loop="link.taglist"} + + {/loop} +{/if}