X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Fincludes.html;fp=tpl%2Fvintage%2Fincludes.html;h=df093495572ba72888c023f4af1b01d26163b1f0;hb=e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08;hp=410b466b1b5d8f1954c90b4bdfdbec5f1fd0115b;hpb=a062416918c964e7551137c08b5b5671e6e2bb7e;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 410b466b..df093495 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html @@ -12,3 +12,23 @@ {/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="$link.thumbnail"} + + {/if} + {if="!$hide_timestamps || $is_logged_in"} + + {if="$link.updated"} + + {/if} + {/if} + {loop="link.taglist"} + + {/loop} +{/if}