소스 검색

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 }}