From: Dan Allen Date: Tue, 27 Mar 2018 07:19:03 +0000 (-0600) Subject: add title and contents for 404 page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cf22e15f05b709715e61c4f08af18a668ea5a8b5;p=eg-antora.git add title and contents for 404 page --- 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}}