From 3edc73a518c5267251c17b08b853da06177a5618 Mon Sep 17 00:00:00 2001 From: shm0o Date: Thu, 25 May 2017 19:08:55 -0400 Subject: [PATCH] templates/layout.html: use url_for for the appropriate endpoints --- nyaa/templates/layout.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index 906289b..91bb818 100755 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -6,9 +6,9 @@ - - - + + + @@ -65,21 +65,21 @@ - {{ config.SITE_NAME }} + {{ config.SITE_NAME }} {% set search_username = (user.username + ("'" if user.username[-1] == 's' else "'s")) if user_page else None %} {% set search_placeholder = 'Search {} torrents...'.format(search_username) if user_page else 'Search...' %}