X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Fincludes.html;h=2ce9da423af296bd4638f8408f2d487445135ddc;hb=df9aac5b6406bf192f2e4e0987e25d0de88480df;hp=2efb6b1063b632a23aef1cf383d941b57916b550;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 2efb6b10..2ce9da42 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html @@ -3,15 +3,19 @@ - - - - + + + + +{if="$formatter==='markdown'"} + +{/if} {loop="$plugins_includes.css_files"} - + {/loop} -{if="is_file('data/user.css')"}{/if} - +{if="is_file('data/user.css')"}{/if} + {if="! empty($links) && count($links) === 1"} {$link=reset($links)} @@ -19,12 +23,12 @@ {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} - {if="$link.thumbnail"} + {if="!empty($link.thumbnail)"} {/if} {if="!$hide_timestamps || $is_logged_in"} - {if="$link.updated"} + {if="!empty($link.updated)"} {/if} {/if}