X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fvintage%2Fincludes.html;h=df093495572ba72888c023f4af1b01d26163b1f0;hb=a120fb2977331e0f7d7ffe05861ba179fdae8764;hp=410b466b1b5d8f1954c90b4bdfdbec5f1fd0115b;hpb=a4f0509a77a39d1ac834d4967e3e8f245de6d68d;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}