Refactored template-one and template-two into one template with a few conditionals.