aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/layout.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html
index 73f727c8..a9732230 100644
--- a/src/web/templates/layout.html
+++ b/src/web/templates/layout.html
@@ -31,7 +31,11 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="{{ url_for("home") }}">🗞&nbsp;Newspipe</a>
+ {% if current_user.is_authenticated %}
+ <a class="navbar-brand" href="{{ url_for("feeds.feeds") }}">🗞&nbsp;Newspipe</a>
+ {% else %}
+ <a class="navbar-brand" href="{{ url_for("home") }}">🗞&nbsp;Newspipe</a>
+ {% endif %}
{% if head_titles %}
<p class="navbar-text" style="max-height: 20px; overflow: hidden">
{{ " - ".join(head_titles) }}
bgstack15