make 404 page look a bit nicer
This commit is contained in:
parent
9c466b436f
commit
3d98847392
3 changed files with 8 additions and 9 deletions
|
@ -2,15 +2,8 @@
|
|||
<meta name="save_as" content=".404.html" />
|
||||
<meta name="title" content="Uh Oh - There's nothing here!" />
|
||||
<meta name="html_title" content="404 - Page not found" />
|
||||
<meta name="no_container" content="true" />
|
||||
</head>
|
||||
<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>
|
||||
<div class="container text-center">
|
||||
<h3>The page you were looking for could not be found.</h3>
|
||||
|
@ -20,7 +13,7 @@
|
|||
<section>
|
||||
<div class="container text-center">
|
||||
<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>
|
||||
</section>
|
||||
</body>
|
||||
|
|
6
theme/templates/extras/page-header.html
Normal file
6
theme/templates/extras/page-header.html
Normal 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>
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% if not page.no_container %}
|
||||
{% include 'extras/header.html' with context %}
|
||||
{% include 'extras/page-header.html' with context %}
|
||||
<section>
|
||||
<div class="container">
|
||||
{{ page.content }}
|
||||
|
|
Reference in a new issue