Templates will always be HTML.
If this isn't checked it will fail when flash is nil.
Setup gists as root path.