浏览代码

fix 404 page

Riccardo Balbo 3 年之前
父节点
当前提交
c164b432b2
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      layouts/404.html

+ 4 - 1
layouts/404.html

@@ -2,7 +2,10 @@
 {{ define "main" }} {{ $featured_image := .Param "featured_image"}}
 {{ $featured_image := (trim $featured_image "/") | absURL }}
 <article>
-  <h1>
+  <h1 style="font-size:6rem;text-align:center">
+    404
+  </h1>
+  <h1 style="text-align:center">
     This is not the page you were looking for
   </h1>
 </article>