X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fincludes.html;h=3e3fb6640a52b366af7c3ad96b23484c5000f9b4;hb=7f5250421be4832b9679d8140bc4a71c8005dfa3;hp=3820a4f7ea14c6799820ede1c878b1be6b8810b5;hpb=cf92b4dd1521241eefc58eaf6dcd202cd83969d8;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 3820a4f7..3e3fb664 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -3,21 +3,22 @@
-
-
-
-
-
-{if="$formatter==='markdown'"}
-
+
+
+
+
+
+{if="strpos($formatter, 'markdown') !== false"}
+
{/if}
{loop="$plugins_includes.css_files"}
-
+
{/loop}
{if="is_file('data/user.css')"}
-
+
{/if}
-
+
{if="! empty($links) && count($links) === 1"}
{$link=reset($links)}