diff --git a/error-404.hbs b/error-404.hbs new file mode 100644 index 0000000..d73ea74 --- /dev/null +++ b/error-404.hbs @@ -0,0 +1,13 @@ +{{!< default}} +
+ {{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background image--}} +
+
+
+
+

{{statusCode}}

+

{{message}}

+ Go to the front page → +
+ + diff --git a/error.hbs b/error.hbs index d73ea74..e58bf5a 100644 --- a/error.hbs +++ b/error.hbs @@ -1,13 +1,50 @@ -{{!< default}} -
- {{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background image--}} -
-
-
-
-

{{statusCode}}

-

{{message}}

- Go to the front page → -
- + + + + + + {{statusCode}} - {{message}} + + + + + + + + + + + + + + +
+
+
+
+
+
+
+

{{statusCode}}

+

{{message}}

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

    Ref: {{ref}}

    +

    Message: {{message}}

    + {{/foreach}} +
  • + {{/foreach}} +
+ {{/if}} +
+
+
+ + + diff --git a/package.json b/package.json index 443221a..3654930 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yuika", "description": "nanao.moe's blog theme", - "version": "2.2.2", + "version": "2.2.3", "engines": { "ghost-api": "v3" },