Recursively include templates