summaryrefslogtreecommitdiff
path: root/themes/new_theme/layouts/404.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new_theme/layouts/404.html')
-rw-r--r--themes/new_theme/layouts/404.html23
1 files changed, 8 insertions, 15 deletions
diff --git a/themes/new_theme/layouts/404.html b/themes/new_theme/layouts/404.html
index 59a1ebf..6e067f0 100644
--- a/themes/new_theme/layouts/404.html
+++ b/themes/new_theme/layouts/404.html
@@ -1,15 +1,8 @@
-{{ partial "header.html" . }}
-
-<div class="main-content content" role="main" itemprop="mainContentOfPage">
- <article class="post">
- <header class="post__header clearfix">
- <h1 class="post__title">{{ .Title }}</h1>
- </header>
- <div class="post__content clearfix">
- Page not found..
- </div>
- </article>
-</div>
-
-{{ partial "sidebar.html" . }}
-{{ partial "footer.html" . }}
+{{ define "main" }}
+<main class="main" role="main">
+ <div class="warning">
+ <h1 class="warning__headline">{{ T "404_title" }}</h1>
+ <p class="warning__text">{{ T "404_text" }} <a href="{{ "" | relLangURL }}">{{ T "404_linktext" }}</a>.</p>
+ </div>
+</main>
+{{ end }}