diff options
author | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:19:06 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@protonmail.com> | 2017-05-19 22:25:29 +0300 |
commit | 62d00ff27ab2e4b363cd1a3aecd8da2fa0ef9bd7 (patch) | |
tree | f1789f0a77a223d1183673892cd76e4af056505f /layouts/404.html | |
parent | 95a28dc9882712e3fdbf3fdb36e8154df5998e9e (diff) |
Switch to block templates
Fixes #88
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 49 |
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 |