aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/includes.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/includes.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/includes.html')
-rw-r--r--tpl/default/includes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 09768ac4..3e3fb664 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -12,10 +12,10 @@
12 <link type="text/css" rel="stylesheet" href="{$asset_path}/css/markdown.min.css?v={$version_hash}#" /> 12 <link type="text/css" rel="stylesheet" href="{$asset_path}/css/markdown.min.css?v={$version_hash}#" />
13{/if} 13{/if}
14{loop="$plugins_includes.css_files"} 14{loop="$plugins_includes.css_files"}
15 <link type="text/css" rel="stylesheet" href="{$base_path}/{$value}?v={$version_hash}#"/> 15 <link type="text/css" rel="stylesheet" href="{$root_path}/{$value}?v={$version_hash}#"/>
16{/loop} 16{/loop}
17{if="is_file('data/user.css')"} 17{if="is_file('data/user.css')"}
18 <link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css#" /> 18 <link type="text/css" rel="stylesheet" href="{$root_path}/data/user.css#" />
19{/if} 19{/if}
20<link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" 20<link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#"
21 title="Shaarli search - {$shaarlititle}" /> 21 title="Shaarli search - {$shaarlititle}" />