diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-03-31 15:57:43 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-03-31 15:57:43 +0200 |
commit | 5dda5b3f0078a34d5308c2ee1ab84f060a7b6dc8 (patch) | |
tree | b6907f00e4f81c753b8c3d025ab71562ff191c25 | |
parent | Redirect the user to the feeds page when logged in. (diff) | |
download | newspipe-5dda5b3f0078a34d5308c2ee1ab84f060a7b6dc8.tar.gz newspipe-5dda5b3f0078a34d5308c2ee1ab84f060a7b6dc8.tar.bz2 newspipe-5dda5b3f0078a34d5308c2ee1ab84f060a7b6dc8.zip |
Even better like this.
-rw-r--r-- | src/web/templates/layout.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index a9732230..33ccb97f 100644 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -32,10 +32,11 @@ <span class="icon-bar"></span> </button> {% if current_user.is_authenticated %} - <a class="navbar-brand" href="{{ url_for("feeds.feeds") }}">🗞 Newspipe</a> + <a class="navbar-brand" href="{{ url_for("feeds.feeds") }}">🗞 </a> {% else %} - <a class="navbar-brand" href="{{ url_for("home") }}">🗞 Newspipe</a> + <a class="navbar-brand" href="{{ url_for("home") }}">🗞 </a> {% endif %} + <a class="navbar-brand" href="{{ url_for("home") }}">Newspipe</a> {% if head_titles %} <p class="navbar-text" style="max-height: 20px; overflow: hidden"> {{ " - ".join(head_titles) }} |