mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
- insert random error image into 404 page
This commit is contained in:
parent
20fb9ba5b4
commit
357ef45cb0
1 changed files with 5 additions and 0 deletions
|
@ -3,3 +3,8 @@ extends /templates/base
|
|||
block content
|
||||
|
||||
h1.text-center(data-i18n="not_found.page_not_found") Page Not Found
|
||||
|
||||
num = Math.floor(Math.random() * 3) + 1
|
||||
|
||||
img(src="/images/pages/not_found/404_#{num}.png")
|
||||
|
||||
|
|
Loading…
Reference in a new issue