diff options
author | B. Stack <bgstack15@gmail.com> | 2023-08-31 10:12:56 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-08-31 10:12:56 -0400 |
commit | e260abbecbefc17360f6f82e07c6ab06476b17dd (patch) | |
tree | f77b90ab9677815bd0c26f0d3ddc9a832456b7b1 | |
parent | add prefix() to context_processor and hardcoded urls (diff) | |
download | newspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.tar.gz newspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.tar.bz2 newspipe-e260abbecbefc17360f6f82e07c6ab06476b17dd.zip |
try prefix()
-rw-r--r-- | newspipe/templates/home.html | 2 |
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> |