]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/picwall.html
Explicitly define base and asset path in templates
[github/shaarli/Shaarli.git] / tpl / default / picwall.html
index 5343abd6a7421131b6f7aca004c171d770d0de79..1e97b36634e371422d335781d0a56df01a0b4fd9 100644 (file)
@@ -9,7 +9,7 @@
 {if="count($linksToDisplay)===0 && $is_logged_in"}
   <div class="pure-g pure-alert pure-alert-warning page-single-alert">
     <div class="pure-u-1 center">
-      {'There is no cached thumbnail. Try to <a href="./?do=thumbs_update">synchronize them</a>.'|t}
+      {'There is no cached thumbnail. Try to <a href="{$base_path}/do=thumbs_update">synchronize them</a>.'|t}
     </div>
   </div>
 {/if}
@@ -52,7 +52,7 @@
 </div>
 
 {include="page.footer"}
-<script src="js/thumbnails.min.js?v={$version_hash}"></script>
+<script src="{$asset_path}/js/thumbnails.min.js?v={$version_hash}#"></script>
 </body>
 </html>