X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=0427e2243a37bc1dc0e2085ce6996772d8a682a9;hb=d37348efe280f0b72807ea6f62fca63e2ad28991;hp=34e0ff017dcd34fe41a2a0b18a1a8dc22d243a20;hpb=d811e4fda609fc250da174444f706e76d5721153;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 34e0ff01..0427e224 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -2,6 +2,7 @@ + @@ -14,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}