瀏覽代碼

Add basic 404 page

Note how this is used in different server environments:

https://gohugo.io/templates/404/#automatic-loading
master
Adrian Short 7 年之前
父節點
當前提交
6b5ac8fad9
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. +9
    -0
      layouts/404.html

+ 9
- 0
layouts/404.html 查看文件

@@ -0,0 +1,9 @@
{{ partial "header" . }}

<h1>The page you're looking for isn't here</h1>

<p>Sorry about that.</p>

<p><a href="{{ "/" | relURL }}">Go to the home page</a></p>

{{ partial "footer" . }}

Loading…
取消
儲存