Use variable to set title on base template instead of block
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% set search_box_value = query %}
|
||||
{% set page_title = query + ' - Search' %}
|
||||
{% extends "base.html" %}
|
||||
{% block page_title %}{{ query + ' - Search' }}{% endblock %}
|
||||
{% import "common_elements.html" as common_elements %}
|
||||
{% block style %}
|
||||
main{
|
||||
|
||||
Reference in New Issue
Block a user