From cf22e15f05b709715e61c4f08af18a668ea5a8b5 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 27 Mar 2018 01:19:03 -0600 Subject: [PATCH] add title and contents for 404 page --- src/partials/article.hbs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/partials/article.hbs b/src/partials/article.hbs index a4c23a0..5b68a72 100644 --- a/src/partials/article.hbs +++ b/src/partials/article.hbs @@ -1,6 +1,17 @@
+{{#if (eq page.layout '404')}} +

{{{or page.title 'Page Not Found'}}}

+
+

The page you're looking for does not exist. It may have been moved.

+
+
+

If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken. +If you typed the URL of this page manually, please double check that you entered the address correctly.

+
+{{else}} {{#if page.title}}

{{{page.title}}}

{{/if}} {{{page.contents}}} +{{/if}}
-- 2.11.0