Added themed 404 page
Currently requires a hacky fix of the index.html template as the 404 only has the config in its context.
This commit is contained in:
parent
e53382eaa0
commit
39cffcefc7
2 changed files with 40 additions and 0 deletions
28
templates/404.html
Normal file
28
templates/404.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
{% extends "index.html" %}
|
||||
{% import "post_macros.html" as post_macros %}
|
||||
|
||||
{% block content %}
|
||||
<!-- START NAV -->
|
||||
{% block header %}
|
||||
{{ super() }}
|
||||
{% endblock header %}
|
||||
<!-- END NAV -->
|
||||
<main>
|
||||
<section class="container">
|
||||
<div class="columns is-desktop">
|
||||
<div class="column is-10-desktop is-offset-1-desktop">
|
||||
<article itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<div class="card article">
|
||||
<div class="card-content">
|
||||
<div itemprop="articleBody" class="content article-body">
|
||||
<h1>404!</h1>
|
||||
This page could not be found, perhaps it is not available in the current language or simply does not exist.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue