diff --git a/source/404.html b/source/404.html
deleted file mode 100644
index 98b8502..0000000
--- a/source/404.html
+++ /dev/null
@@ -1 +0,0 @@
-Page not found
\ No newline at end of file
diff --git a/source/404.md b/source/404.md
new file mode 100644
index 0000000..c35775e
--- /dev/null
+++ b/source/404.md
@@ -0,0 +1,5 @@
+---
+title: Page not found
+layout: page
+sitemap: false
+---
diff --git a/source/robots.txt b/source/robots.txt
index f649a3a..83e3697 100644
--- a/source/robots.txt
+++ b/source/robots.txt
@@ -1,4 +1,5 @@
User-agent: *
-Disallow:
+Disallow: /404
+Disallow: /404.html
Sitemap: https://mdleom.com/sitemap.xml
\ No newline at end of file