- insert random error image into 404 page

This commit is contained in:
Karthig 2014-03-02 22:33:02 -05:00
parent 20fb9ba5b4
commit 357ef45cb0

View file

@ -3,3 +3,8 @@ extends /templates/base
block content block content
h1.text-center(data-i18n="not_found.page_not_found") Page Not Found 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")