[render] Better handling of subdirectories

Now using a walker instead of glob. This also allows us to remove the extension from the template name