Have a different 404 page for pages and posts
parent
75cc11741e
commit
427ad62b3b
@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}404{% endblock %}
|
||||
|
||||
{% block description %}
|
||||
This post wasn't found!
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Post not found!</h1>
|
||||
|
||||
<p><code>{{ slug }}</code> was not found! Would you like to view other <a href="/posts">posts</a> or go <a href="/">home</a>?</p>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue