diff --git a/hasjob/__init__.py b/hasjob/__init__.py index c0434221..90cac3e7 100644 --- a/hasjob/__init__.py +++ b/hasjob/__init__.py @@ -25,8 +25,11 @@ lastuser = Lastuser() redis_store = FlaskRedis(decode_responses=True) rq = RQ() -manifest = WebpackManifest( - app, filepath='static/build/manifest.json', urlpath='/static/build/' +webpack = WebpackManifest( + app, + filepath='static/build/manifest.json', + urlpath='/static/build/', + jinja_global='webpack', ) # Second, setup assets diff --git a/hasjob/templates/embedlayout.html.jinja2 b/hasjob/templates/embedlayout.html.jinja2 index 077aec23..24e9cb49 100644 --- a/hasjob/templates/embedlayout.html.jinja2 +++ b/hasjob/templates/embedlayout.html.jinja2 @@ -2,7 +2,7 @@ {%- block layoutheaders %} - + {# diff --git a/hasjob/templates/layout.html.jinja2 b/hasjob/templates/layout.html.jinja2 index 244c32bc..14c7a129 100644 --- a/hasjob/templates/layout.html.jinja2 +++ b/hasjob/templates/layout.html.jinja2 @@ -38,7 +38,7 @@ - + {# @@ -282,9 +282,9 @@ {% block layoutscripts %} {%- if header_campaign %}{{ campaign_script() }}{% endif %} - - - + + +