diff --git a/template/404.html b/template/404.html
new file mode 100644
index 0000000..964c0a2
--- /dev/null
+++ b/template/404.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Go by Example: Not Found
+
+
+
+
+
+
Go by Example
+
Sorry, we couldn't find that!
+
+
+
diff --git a/tool/generate.go b/tool/generate.go
index 0537375..84dc408 100644
--- a/tool/generate.go
+++ b/tool/generate.go
@@ -239,6 +239,7 @@ func main() {
ensureDir(siteDir)
copyFile("template/site.css", siteDir+"/site.css")
copyFile("template/favicon.ico", siteDir+"/favicon.ico")
+ copyFile("template/404.html", siteDir+"/404.html")
chapters := parseChapters()
renderIndex(chapters)
renderChapters(chapters)