diff options
Diffstat (limited to 'templates/404.html')
| -rw-r--r-- | templates/404.html | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/templates/404.html b/templates/404.html index 23c7168..3b02be6 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,21 +1,23 @@ {% extends "base.html" %} - {# Title #} -{% block title %}<title>Sorry! Page not found.</title>{% endblock title %} - -{% if config.extra.seo | default(value=true) %} - {% block current_url %} - <meta property="og:url" content="{{ get_url(path='/') }}"> - <meta name="twitter:url" content="{{ get_url(path='/') }}"> - {% endblock current_url %} -{% endif %} -{# Page heading #} +{% block title %} + <title>Sorry! Page not found.</title> +{% endblock title %} -{% block content %}<div> +{% block current_url %} + {% if config.extra.seo | default(value=true) %} + <meta property="og:url" content="{{ get_url(path='/') }}"> + <meta name="twitter:url" content="{{ get_url(path='/') }}"> + {% endif %} +{% endblock current_url %} -<h1>404 Error</h1> -<h2>Sorry</h2> -<p>The requested page does not exist or has been moved to another address.</p> -<p>Please go back to <a href="{{ get_url(path="/", trailing_slash=true) }}">home</a>.</p> +{# Page heading #} -</div>{% endblock content %} +{% block content %} + <div> + <h1>404 Error</h1> + <h2>Sorry</h2> + <p>The requested page does not exist or has been moved to another address.</p> + <p>Please go back to <a href="{{ get_url(path="/", trailing_slash=true) }}">home</a>.</p> + </div> +{% endblock content %} |
