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