aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-31 10:12:56 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-31 10:12:56 -0400
commite260abbecbefc17360f6f82e07c6ab06476b17dd (patch)
treef77b90ab9677815bd0c26f0d3ddc9a832456b7b1
parentadd prefix() to context_processor and hardcoded urls (diff)
downloadnewspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.tar.gz
newspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.tar.bz2
newspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.zip
try prefix()
-rw-r--r--newspipe/templates/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/templates/home.html b/newspipe/templates/home.html
index aa2b1889..c292a32f 100644
--- a/newspipe/templates/home.html
+++ b/newspipe/templates/home.html
@@ -178,7 +178,7 @@
</td>
{% endif %}
<td {%if filter_ == 'all' and article.readed == False %}style='font-weight:bold'{% endif %}>
- <a href="{{ prefix }}/article/{{ article.id }}" title="{{ article.title }}">{{ article.title | truncate(100, False, '...') }}</a>
+ <a href="{{ prefix() }}/article/{{ article.id }}" title="{{ article.title }}">{{ article.title | truncate(100, False, '...') }}</a>
</td>
<td class="date d-none d-lg-block">{{ article.date | datetime(format='short') }}</td>
</tr>
bgstack15