Relax error and send error_code to template

This commit is contained in:
Jesus E
2023-06-19 21:23:25 -04:00
parent 6740afd6a0
commit cc8f30eba2
2 changed files with 17 additions and 2 deletions

View File

@@ -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" %}