1
Fork 0

make 404 page look a bit nicer

This commit is contained in:
Jake Howard 2016-08-27 18:25:55 +01:00
parent 9c466b436f
commit 3d98847392
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 8 additions and 9 deletions

View file

@ -2,15 +2,8 @@
<meta name="save_as" content=".404.html" /> <meta name="save_as" content=".404.html" />
<meta name="title" content="Uh Oh - There's nothing here!" /> <meta name="title" content="Uh Oh - There's nothing here!" />
<meta name="html_title" content="404 - Page not found" /> <meta name="html_title" content="404 - Page not found" />
<meta name="no_container" content="true" />
</head> </head>
<body> <body>
<section id="header" class="bg-primary header-bg">
<div class="container text-center text-uppercase">
<h1 class="section-heading">{{ page.title }}</h1>
<hr class="light">
</div>
</section>
<section> <section>
<div class="container text-center"> <div class="container text-center">
<h3>The page you were looking for could not be found.</h3> <h3>The page you were looking for could not be found.</h3>
@ -20,7 +13,7 @@
<section> <section>
<div class="container text-center"> <div class="container text-center">
<p>For now, here's a picture of a cat!</p> <p>For now, here's a picture of a cat!</p>
<img src="https://2.bp.blogspot.com/-mh8wLBv3gzk/TcTXhBCp3oI/AAAAAAAAxGA/dE9RuE1bNdc/s1600/CaturdayTechSupport6.jpg" alt="Cat" style="width: 50%;" /> <img src="https://2.bp.blogspot.com/-mh8wLBv3gzk/TcTXhBCp3oI/AAAAAAAAxGA/dE9RuE1bNdc/s1600/CaturdayTechSupport6.jpg" alt="Cat" style="width: 75%;" />
</div> </div>
</section> </section>
</body> </body>

View file

@ -0,0 +1,6 @@
<section id="header" class="bg-primary image" data-image="{{ page.image }}">
<div class="container text-center text-uppercase">
<h1 class="section-heading">{{ page.title }}</h1>
<hr class="light">
</div>
</section>

View file

@ -10,7 +10,7 @@
{% block content %} {% block content %}
{% if not page.no_container %} {% if not page.no_container %}
{% include 'extras/header.html' with context %} {% include 'extras/page-header.html' with context %}
<section> <section>
<div class="container"> <div class="container">
{{ page.content }} {{ page.content }}