shlink/templates/error/error.html.twig

21 lines
541 B
Twig
Raw Normal View History

2016-04-10 02:38:07 -05:00
{% extends 'layout/default.html.twig' %}
{% block title %}{{ status }} {{ reason }}{% endblock %}
2016-05-02 10:17:11 -05:00
{% block stylesheets %}
<style>
p {margin-bottom: 20px;}
body {text-align: center;}
</style>
{% endblock %}
2016-04-10 02:38:07 -05:00
{% block content %}
<h1>Oops!</h1>
2016-05-02 10:17:11 -05:00
<hr>
2016-04-10 02:38:07 -05:00
<p>We encountered a {{ status }} {{ reason }} error.</p>
{% if status == 404 %}
2016-05-02 10:17:11 -05:00
<p>This short URL doesn't seem to be valid.</p>
<p>Make sure you included all the characters, with no extra punctuation.</p>
2016-04-10 02:38:07 -05:00
{% endif %}
{% endblock %}