X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Fincludes.html;h=2ce9da423af296bd4638f8408f2d487445135ddc;hb=df9aac5b6406bf192f2e4e0987e25d0de88480df;hp=17b78b17ccda034cf074c4a175e07ce843b9b15a;hpb=5978588578ca103152598ccfbe41019b12e00a4f;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html
index 17b78b17..2ce9da42 100644
--- a/tpl/vintage/includes.html
+++ b/tpl/vintage/includes.html
@@ -3,13 +3,36 @@
-
-
-
-
-
-{if="is_file('data/user.css')"}{/if}
+
+
+
+
+{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}