From 818b3193ffabec57501e3bdfa997206e3c0671ef Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 13 Jun 2020 11:22:14 +0200 Subject: Explicitly define base and asset path in templates With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers. --- tpl/default/daily.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tpl/default/daily.html') diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 9ccd1e61..aa34bd1c 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html @@ -11,7 +11,7 @@

{'The Daily Shaarli'|t} - +

@@ -25,7 +25,7 @@
{if="$previousday"} - + {'Previous day'|t} @@ -36,7 +36,7 @@
{if="$nextday"} - + {'Next day'|t} @@ -69,7 +69,7 @@ {$link=$value}
- + {$link.title} @@ -116,7 +116,7 @@
{include="page.footer"} - + -- cgit v1.2.3