Patch 1

Move settings out of template, and into conf.py