Skip to content

Commit

Permalink
Add basic 404 page (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
auggod authored Aug 14, 2022
1 parent cfada43 commit 410ef38
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/content/notfound/_index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "404"
description: "404 page not found"
layout: "single"

---
12 changes: 12 additions & 0 deletions src/layouts/notfound/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{ define "main" }}

<header class="pa3 pa4-ns mb5">
<div class="flex flex-column-reverse flex-row-ns items-center-ns justify-between">
<h1 class="w-100 w-60-ns f1 f1-vw-l normal mt3 mt5-ns mb5">{{ .Title }}</h1>
</div>
<div class="w-100 w-70-m w-60-l f5 f5-vw-l">
<p>{{ .Params.description }}. <a href="/" class="link bb b--gray">Get back to home</a>.</p>
</div>
</header>

{{ end }}

0 comments on commit 410ef38

Please sign in to comment.