]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
load user css at last, after plugin css to enable changing plugin styles
authorMark Schmitz <kramred@gmail.com>
Fri, 13 Apr 2018 12:21:58 +0000 (13:21 +0100)
committerMark Schmitz <kramred@gmail.com>
Fri, 13 Apr 2018 12:21:58 +0000 (13:21 +0100)
tpl/default/includes.html

index 2c56d3c989d28d9663e108cbb36bae3541342012..34e0ff017dcd34fe41a2a0b18a1a8dc22d243a20 100644 (file)
@@ -7,10 +7,10 @@
 <link href="img/favicon.png" rel="shortcut icon" type="image/png" />
 <link href="img/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
 <link type="text/css" rel="stylesheet" href="css/shaarli.min.css?v={$version_hash}" />
-{if="is_file('data/user.css')"}
-  <link type="text/css" rel="stylesheet" href="data/user.css#" />
-{/if}
 {loop="$plugins_includes.css_files"}
   <link type="text/css" rel="stylesheet" href="{$value}?v={$version_hash}#"/>
 {/loop}
+{if="is_file('data/user.css')"}
+  <link type="text/css" rel="stylesheet" href="data/user.css#" />
+{/if}
 <link rel="search" type="application/opensearchdescription+xml" href="?do=opensearch#" title="Shaarli search - {$shaarlititle}"/>