diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:47:11 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-16 12:47:11 +0200 |
commit | 7f5250421be4832b9679d8140bc4a71c8005dfa3 (patch) | |
tree | a47e846cef666dbd1c2c7d05a01fd32aa8311d4f /tpl/default/daily.html | |
parent | ec457491879893c8cfcc9dd6542d1593aa5c91f5 (diff) | |
download | Shaarli-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/daily.html')
-rw-r--r-- | tpl/default/daily.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 3ab8053f..3749bffb 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html | |||
@@ -76,7 +76,7 @@ | |||
76 | </div> | 76 | </div> |
77 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} | 77 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} |
78 | <div class="daily-entry-thumbnail"> | 78 | <div class="daily-entry-thumbnail"> |
79 | <img data-src="{$link.thumbnail}#" class="b-lazy" | 79 | <img data-src="{$root_path}/{$link.thumbnail}#" class="b-lazy" |
80 | src="" | 80 | src="" |
81 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 81 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
82 | </div> | 82 | </div> |