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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitalcraftsman <digitalcraftsman@protonmail.com>2017-05-19 22:19:06 +0300
committerdigitalcraftsman <digitalcraftsman@protonmail.com>2017-05-19 22:25:29 +0300
commit62d00ff27ab2e4b363cd1a3aecd8da2fa0ef9bd7 (patch)
treef1789f0a77a223d1183673892cd76e4af056505f /layouts/404.html
parent95a28dc9882712e3fdbf3fdb36e8154df5998e9e (diff)
Switch to block templates
Fixes #88
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html49
1 files changed, 19 insertions, 30 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 049a660..6ba3af1 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,31 +1,20 @@
-{{ partial "head" . }}
-
-<div id="container">
- {{ partial "header" . }}
- <div class="outer">
- {{ partial "profile" . }}
- <section id="main">
- <article class="article article-type-post" itemscope="" itemprop="blogPost">
- <div class="article-inner">
- <div class="article-entry" itemprop="articleBody">
- <p>
- <center>
- <h1>
- {{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}}
- </h1>
- <h3>
- {{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}}
- </h3>
- </center>
- </p>
- </div>
+{{ define "main" }}
+<section id="main">
+ <article class="article article-type-post" itemscope="" itemprop="blogPost">
+ <div class="article-inner">
+ <div class="article-entry" itemprop="articleBody">
+ <p>
+ <center>
+ <h1>
+ {{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}}
+ </h1>
+ <h3>
+ {{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}}
+ </h3>
+ </center>
+ </p>
</div>
- </article>
- </section>
- {{ partial "sidebar" . }}
-</div>
-</div>
-
-{{ partial "footer" . }}
-</body>
-</html>
+ </div>
+ </article>
+</section>
+{{ end }} \ No newline at end of file