Преглед на файлове

Add basic 404 page

Note how this is used in different server environments:

https://gohugo.io/templates/404/#automatic-loading
master
Adrian Short преди 8 години
родител
ревизия
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" . }}

Зареждане…
Отказ
Запис