X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fdefault%2Fincludes.html;h=6c30d1bf8a432052df87b14709249e62e786ef51;hb=92423ce58a316c8f3b4aeb0a510bcecf54e15d7c;hp=2c56d3c989d28d9663e108cbb36bae3541342012;hpb=c81f1afc0a3a16daf98741a63c7524b27835da99;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 2c56d3c9..6c30d1bf 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -2,15 +2,36 @@
+
-{if="is_file('data/user.css')"}
-
-{/if}
{loop="$plugins_includes.css_files"}
{/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}