From 74cf3b2135661ae17b4e390c91182c673645cad7 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 21 Jul 2019 22:50:57 -0700 Subject: Use variable to set title on base template instead of block --- youtube/templates/playlist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/templates/playlist.html') diff --git a/youtube/templates/playlist.html b/youtube/templates/playlist.html index 09e382b..074b813 100644 --- a/youtube/templates/playlist.html +++ b/youtube/templates/playlist.html @@ -1,5 +1,5 @@ +{% set page_title = title + ' - Page ' + parameters_dictionary.get('page', '1') %} {% extends "base.html" %} -{% block page_title %}{{ title + ' - Page ' + parameters_dictionary.get('page', '1') }}{% endblock %} {% import "common_elements.html" as common_elements %} {% block style %} main{ -- cgit v1.2.3