Revert "Replace govuk template with govuk frontend components - rewrite"

This commit is contained in:
Tom Byers
2019-11-26 12:14:09 +00:00
committed by GitHub
parent 653ab5e512
commit e09d510ab8
56 changed files with 358 additions and 1220 deletions

View File

@@ -720,7 +720,7 @@ def init_jinja(application):
repo_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
template_folders = [
os.path.join(repo_root, 'app/templates'),
os.path.join(repo_root, 'app/templates/vendor/govuk-frontend'),
os.path.join(repo_root, 'node_modules/govuk-frontend'),
]
jinja_loader = jinja2.FileSystemLoader(template_folders)
application.jinja_loader = jinja_loader