Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien CASTERS <fabien@vaga.io>2019-03-05 00:12:05 +0300
committerFabien CASTERS <fabien@vaga.io>2019-04-03 23:05:47 +0300
commitdcb671ccc1a0bc6cc8e03eb36123605ef7732e87 (patch)
tree019ab70bd58486eeb341b272b666964ccfd92bdb /layouts
parent8f72bdea484959c552243bbc1d6cebb5457e624c (diff)
Add 404 page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..7009c19
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+ <div class="error-404">
+ <h1 class="error-404-title">O{{ partial "icon.html" (dict "ctx" $ "name" "frown") }}ps... </h1>
+ <p>The link you followed may be broken, or the page may have been removed.</p>
+ <a href="{{ "/" | relURL }}">Go home {{ partial "icon.html" (dict "ctx" $ "name" "arrow-right") }}</a>
+ </div>
+{{ end }}