Skip to content

Commit

Permalink
Move pages around to make 404
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco authored Dec 26, 2021
1 parent a265d7b commit 4e272ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pages/404.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: "layouts/_default.njk"
permalink: 404.html
---

<main class="flex items-center justify-center">
<h1>Oh no, a 404!</h1>
<p>Whatever will you do! You can go back <a href="/">home</a>?</p>
</main>
1 change: 1 addition & 0 deletions index.njk → pages/index.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: "layouts/_default.njk"
permalink: /
---

<main class="mx-auto max-w-xl py-8 px-3">
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
content: [
'./posts/**/*.md',
'./pages/**/*.njk',
'./_includes/**/*.njk',
'./index.njk',
],
Expand Down

0 comments on commit 4e272ca

Please sign in to comment.