Use variable to set title on base template instead of block

This commit is contained in:
James Taylor
2019-07-21 22:50:57 -07:00
parent c5827a3bb1
commit 74cf3b2135
13 changed files with 13 additions and 19 deletions

View File

@@ -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{