X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=428b8ee292ef8feddb9f426271b6d9942f500bb7;hb=336a28fa4a09b968ce4705900bf57693e672f0bf;hp=5ccacaafb82d1dada9c27a1ea7fac317e267e2b4;hpb=ea700dd89fb2b114a34494b824564f48927d5779;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 5ccacaaf..428b8ee2 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="!empty($link.thumbnail)"} + + {/if} + {if="!$hide_timestamps || $is_logged_in"} + + {if="!empty($link.updated)"} + + {/if} + {/if} + {loop="link.taglist"} + + {/loop} +{/if}