aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-16 12:47:11 +0200
committerArthurHoaro <arthur@hoa.ro>2020-10-16 12:47:11 +0200
commit7f5250421be4832b9679d8140bc4a71c8005dfa3 (patch)
treea47e846cef666dbd1c2c7d05a01fd32aa8311d4f /tpl/default/linklist.html
parentec457491879893c8cfcc9dd6542d1593aa5c91f5 (diff)
downloadShaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.tar.gz
Shaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.tar.zst
Shaarli-7f5250421be4832b9679d8140bc4a71c8005dfa3.zip
Support using Shaarli without URL rewriting
- Shaarli can be fully used by prefixing any URL with /index.php/ - {$base_path} used in templates already works with this configuration - Assets path (outside of theme's assets) must be prefixed with {$root_url}/ - Documentation section in « Server configuration » Fixes #1590
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index b08773d8..e1fb54dd 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -140,7 +140,7 @@
140 <div class="thumbnail"> 140 <div class="thumbnail">
141 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} 141 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
142 <a href="{$value.real_url}" aria-hidden="true" tabindex="-1"> 142 <a href="{$value.real_url}" aria-hidden="true" tabindex="-1">
143 <img data-src="{$base_path}/{$value.thumbnail}#" class="b-lazy" 143 <img data-src="{$root_path}/{$value.thumbnail}#" class="b-lazy"
144 src="" 144 src=""
145 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" /> 145 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" />
146 </a> 146 </a>