X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=227f9b52ae805080ec089ff59b1d2e16d0ee0dfd;hb=refs%2Fpull%2F1566%2Fhead;hp=b2bfec30918281104cacf6c50cae5441fcc26903;hpb=101b935de4852308a238c04bf5a08d01a6ebe45c;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index b2bfec30..227f9b52 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -2,20 +2,40 @@
-
-
-
-
-
-
-
-
-
-
-{if="is_file('data/user.css')"}
-
+
+
+
+
+
+
+{if="$formatter==='markdown'"}
+
{/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="!empty($link.thumbnail)"}
+
+ {/if}
+ {if="!$hide_timestamps || $is_logged_in"}
+
+ {if="!empty($link.updated)"}
+
+ {/if}
+ {/if}
+ {loop="link.taglist"}
+
+ {/loop}
+{/if}