Relax error and send error_code to template
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{% set page_title = 'Error' %}
|
||||
{% if error_code %}
|
||||
{% set page_title = 'Error: ' ~ error_code %}
|
||||
{% else %}
|
||||
{% set page_title = 'Error' %}
|
||||
{% endif %}
|
||||
|
||||
{% if not slim %}
|
||||
{% extends "base.html" %}
|
||||
|
||||
Reference in New Issue
Block a user