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/vintage/linklist.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tpl/vintage/linklist.html') diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 502abcf9..8db8f70b 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -66,12 +66,12 @@ tagged {loop="$exploded_tags"} - {$value} x + {$value} x {/loop} {elseif="$search_tags === false"} - untagged x + untagged x {/if} @@ -95,13 +95,13 @@
- +

-
@@ -114,7 +114,7 @@ {if="!$hide_timestamps || $is_logged_in"} {$updated=$value.updated_timestamp ? 'Edited: '. format_date($value.updated) : 'Permalink'} - + {$value.created|format_date} {if="$value.updated_timestamp"}*{/if} @@ -123,7 +123,7 @@ - {else} - permalink - + permalink - {/if} {loop="$value.link_plugin"} @@ -133,7 +133,7 @@ {$value.url}
{if="$value.tags"}
- {loop="$value.taglist"}{$value} {/loop} + {loop="$value.taglist"}{$value} {/loop}
{/if} @@ -154,7 +154,7 @@ {include="page.footer"} - + -- cgit v1.2.3