-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Presented for your coding pleasure: http://divmod.org/users/wiki.twistd/nevow/moin.cgi/Custom404Page?action=show
I believe this is a fairly common use case: You want to automatically handle 404 and 500 errors by returning a custom Page of your own design. The example above shows you how to do it.
The same location previously held a version that used stan. With some help from Donovan and James I (finally) got it working with xml templates as well.