Skip to content

Commit

Permalink
Merge branch 'release/1.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Mar 9, 2018
2 parents bdab65f + 15fb9ce commit 9da054f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# v1.6.1
## 03/09/2018

1. [](#improved)
* Added Polish + Catalan translation
* Updated `README.md` to reference custom error pages

# v1.6.0
## 10/19/2016

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Copy the page file [error.md](pages/error.md) into the `pages` folder of your us

You can now edit the override and tweak it however you prefer.

# Custom error pages

The configuration allows to specify pages different than `/error` for specific error codes. By default, the `404` error leads to the `/error` page. If you change that, make sure the page you point to has a `error` template (which means, its markdown file is `error.md` or in the page frontmatter you specify `template: error`.

# CLI Usage
The `error` plugin comes with a CLI command that outputs the `grav.log` in a beautified way, with possibility of limiting the amount of errors displayed, as well as include the trace in the output.

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Error
version: 1.6.0
version: 1.6.1
description: Displays the error page.
icon: warning
author:
Expand Down
13 changes: 12 additions & 1 deletion languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ hr:
PLUGIN_ERROR:
ERROR: "Greška"
ERROR_MESSAGE: "Uups. Izgleda da ova stranica ne postoji."

ro:
PLUGIN_ERROR:
ERROR: "Eroare"
Expand All @@ -35,3 +34,15 @@ zh:
PLUGIN_ERROR:
ERROR: "错误"
ERROR_MESSAGE: "呃,似乎这个页面不存在。"
cs:
PLUGIN_ERROR:
ERROR: "Chyba"
ERROR_MESSAGE: "A jéje. Vypadá to, že hledaná stránka tu není."
pl:
PLUGIN_ERROR:
ERROR: "Błąd"
ERROR_MESSAGE: "Ups. Wygląda na to, że ta strona nie istnieje."
ca:
PLUGIN_ERROR:
ERROR: "Error"
ERROR_MESSAGE: "Ups. Sembla que aquesta pàgina no existeix."

0 comments on commit 9da054f

Please sign in to comment.