瀏覽代碼

Add 404 page

Apis Necros 2 年之前
父節點
當前提交
894e36ccc0
共有 1 個文件被更改,包括 21 次插入0 次删除
  1. 21 0
      layouts/404.html

+ 21 - 0
layouts/404.html

@@ -0,0 +1,21 @@
+
+
+{{ define "main" }}
+<div class="panel">
+    <h1>Well, aren't you a busy bee?</h1>
+    <p>
+        Looks like you're a bit lost. Let's not wander too far from the hive, though.
+    </p>
+    <p>
+        Why not check some of these posts to get back?
+    </p>
+</div>
+
+<div class="panel">
+    <div id="blog-flex">
+        {{- range first 3 (shuffle (where .Site.RegularPages "Section" "blog")) }}
+        {{ partial "micropanel.html" . }}
+        {{- end }}
+    </div>
+</div>
+{{ end }}