axitkhurana / buster

Brute force static site generator for Ghost
MIT License
802 stars 139 forks source link

Add custom 404 page #3

Open axitkhurana opened 10 years ago

axitkhurana commented 10 years ago

See gh-pages help.

luizfaias commented 9 years ago

Here's my temporary solution for that: create a static page named 404 and then manually copy it to the static/ directory before running buster deploy.

Example: http://luizfaias.com/404.html

axitkhurana commented 9 years ago

:+1: I wanted this to be automated, creating a default 404 file in static/ directory during buster setup. Would you like to send a pull request?

luizfaias commented 9 years ago

Hey, Akshit.

I was able to download Ghost's default error page running this command:

wget --content-on-error http://localhost:2368/404.html

Unfortunately I'm not a wget expert and couldn't save the dependencies like the css or images.

sebie commented 9 years ago

Psst, the name is Asit not Axsh!t.. Just saying.