diff options
author | B. Stack <bgstack15@gmail.com> | 2023-08-31 17:18:59 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-08-31 17:19:44 -0400 |
commit | 204b10805e67f125e63a2ece4b184a4634038bea (patch) | |
tree | 2bd6c7a7e007deb6df3b31b067707d5dca8174d8 /newspipe/templates/article.html | |
parent | chg: [dependencies] Updated Python dependencies. (diff) | |
download | newspipe-204b10805e67f125e63a2ece4b184a4634038bea.tar.gz newspipe-204b10805e67f125e63a2ece4b184a4634038bea.tar.bz2 newspipe-204b10805e67f125e63a2ece4b184a4634038bea.zip |
add reverse proxy and virtual pathreverse-proxy-for-patch
This adds the python logic, and prefix variable to assembled
links in html and js
Diffstat (limited to 'newspipe/templates/article.html')
-rw-r--r-- | newspipe/templates/article.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/templates/article.html b/newspipe/templates/article.html index c62e3f0c..d9cf9a62 100644 --- a/newspipe/templates/article.html +++ b/newspipe/templates/article.html @@ -4,7 +4,7 @@ <div class="row" data-article="{{ article.id }}" id="filters" data-filter="{{ filter_ }}"> <div class="col"> <h2><a href="{{ article.link }}" target="_blank">{{ article.title|safe }}</a></h2> - <h3>{{ _('from') }} <a href="/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3> + <h3>{{ _('from') }} <a href="{{ prefix() }}/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3> <a href="{{ url_for("article.delete", article_id=article.id) }}"><i class="fa fa-times delete" aria-hidden="true" title="{{ _('Delete this article') }}"></i></a> {% if article.like %} <a href="#"><i class="fa fa-star like" aria-hidden="true" title="{{ _('One of your favorites') }}"></i></a> |