X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=d3d3c86fd713732389b7b61d34e86b3f52048794;hb=74c1d020793d9a7cae5f563776d6fc2f4155d627;hp=5ccacaafb82d1dada9c27a1ea7fac317e267e2b4;hpb=f6b3295d28352cbeb46dff04799cf8f4d39087bb;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 5ccacaaf..d3d3c86f 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="$link.updated"}
+
+ {/if}
+ {/if}
+ {loop="link.taglist"}
+
+ {/loop}
+{/if}