Throw errors if a partial template is included that has not been defined