Makes jinja work on subdirectories.