X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Fincludes.html;h=2efb6b1063b632a23aef1cf383d941b57916b550;hb=92423ce58a316c8f3b4aeb0a510bcecf54e15d7c;hp=410b466b1b5d8f1954c90b4bdfdbec5f1fd0115b;hpb=14dd77ad7ee02002b6b7fc84126253be5c65fa17;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 410b466b..2efb6b10 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}