Add a 404 page (which doesn't work yet)
This commit is contained in:
parent
eca6729900
commit
6810f58f5f
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
layout: 2017/not_found
|
||||||
|
---
|
||||||
|
This cheatsheet doesn't exist.
|
|
@ -8,6 +8,7 @@
|
||||||
Rico's cheatsheets
|
Rico's cheatsheets
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
{% unless include.noshare %}
|
||||||
<div class='actions'>
|
<div class='actions'>
|
||||||
{% include social-list.html class="social page-actions" page=include.page %}
|
{% include social-list.html class="social page-actions" page=include.page %}
|
||||||
|
|
||||||
|
@ -21,5 +22,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endunless %}
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
type: website
|
||||||
|
permalink: /404.html
|
||||||
|
---
|
||||||
|
{% include 2017/head.html %}
|
||||||
|
{% include 2017/top-nav.html page=page noshare=true %}
|
||||||
|
|
||||||
|
<div class='body-area -slim'>
|
||||||
|
<div class='site-header'>
|
||||||
|
<h1>
|
||||||
|
Not found
|
||||||
|
</h1>
|
||||||
|
<p>
|
||||||
|
Sorry, we don't have a cheatsheet for this yet. Try searching!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<form class='search' action='.' method='get'>
|
||||||
|
<label class='search-box'>
|
||||||
|
<!-- <span class='prefix'>devhints.io</span> -->
|
||||||
|
<!-- <span class='sep'>/</span> -->
|
||||||
|
<input name='q' type='text' placeholder='Search...' autofocus data-js-search-input>
|
||||||
|
</label>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<p class='action'>
|
||||||
|
<a class='push-button' href='./'>Back to home</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% include 2017/foot.html %}
|
|
@ -24,4 +24,8 @@
|
||||||
& > .search {
|
& > .search {
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .action {
|
||||||
|
margin-top: 32px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue