doctype system to power relurori. based off one of the templates.