diff --git a/assets/css/ghost/errors.css b/assets/css/ghost/errors.css deleted file mode 100644 index e2ae5a6..0000000 --- a/assets/css/ghost/errors.css +++ /dev/null @@ -1,60 +0,0 @@ -/* Error Templates -/* ---------------------------------------------------------- */ - -.gh-error { - flex: 1 0 auto; - display: flex; - flex-direction: column; - justify-content: center; - padding-bottom: 2vmin; -} - -.gh-error-content { - flex: 1 0 auto; - text-align: center; -} - -.gh-error-code { - margin: 0; - font-size: 14vmin; -} - -.gh-error-description { - max-width: 600px; - margin: 0 auto; - padding: 0 1.25rem; - font-size: 4vmin; - line-height: 1.2em; - font-weight: 300; - opacity: 0.6; -} - -.gh-error-link { - display: block; - margin-top: 4vmin; - font-size: 1rem; -} - -.gh-error-stack { - max-width: 600px; - margin: 0 auto 0; - padding: 8vmin 0; - text-align: left; -} - -.gh-error-stack-list { - margin: 4vmin 0 0; - font-size: 0.875rem; -} - -.gh-error-stack-list > li { - padding: 1.25rem 0; - margin: 0; - border-top: rgba(0, 0, 0, 0.1) 1px solid; -} - -.gh-error-stack-function { - margin: 0 0 0.5em; - font-size: 1.125rem; - color: red; -} diff --git a/assets/css/main.css b/assets/css/main.css index e4c8aa8..bbfb25c 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -7,7 +7,6 @@ @import "ghost/header.css"; @import "ghost/content.css"; @import "ghost/readmore.css"; -@import "ghost/errors.css"; @import "ghost/footer.css"; @layer base { diff --git a/error.hbs b/error.hbs index a485cde..99c06aa 100644 --- a/error.hbs +++ b/error.hbs @@ -1,50 +1,44 @@ {{!< default}} -
-
-

- {{statusCode}} -

-

- {{message}} -

- +
+

{{statusCode}}

+

{{message}}

+

+ + Go to the front page → + +

- {{#if errorDetails}} -
-

- Theme errors: -

-
    - {{#foreach errorDetails}} -
  • -
    - {{{rule}}} -
    + {{#if errorDetails}} +
    +

    + Theme errors: +

    +
      + {{#foreach errorDetails}} +
    • +
      + {{{rule}}} +
      - {{#foreach failures}} - - - Ref: - - {{ref}} - -
      - - - Message: - - {{message}} - - {{/foreach}} -
    • + {{#foreach failures}} + + + Ref: + + {{ref}} + +
      + + + Message: + + {{message}} + {{/foreach}} -
    -
    - {{/if}} +
  • + {{/foreach}} +
+ {{/if}}