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