X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=3e3fb6640a52b366af7c3ad96b23484c5000f9b4;hb=7f5250421be4832b9679d8140bc4a71c8005dfa3;hp=80c083331d10a31dced6a4188cfa3f858fbf5397;hpb=bfe4f536bbfe03f38e0c801bfbd26587a2b64a7f;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 80c08333..3e3fb664 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -2,19 +2,40 @@
-
-
-
-
-
-
-
-
-
-{if="is_file('data/user.css')"}
-
+
+
+
+
+
+
+{if="strpos($formatter, 'markdown') !== false"}
+
{/if}
{loop="$plugins_includes.css_files"}
-
+
{/loop}
-
\ No newline at end of file
+{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="!empty($link.thumbnail)"}
+
+ {/if}
+ {if="!$hide_timestamps || $is_logged_in"}
+
+ {if="!empty($link.updated)"}
+
+ {/if}
+ {/if}
+ {loop="link.taglist"}
+
+ {/loop}
+{/if}