load main.js async
Tom Rutgers
committed Aug 19, 2018
commit 6c32fd3c0ea62b4eb0a11ea508016dfbd5a5bc8c
Showing 1
changed file with
2 additions
and 2 deletions
source/layouts/layout.slim
+2
-2
| @@ | @@ -10,7 +10,7 @@ html |
| title= current_page.data.title || "Middleman" | |
| = stylesheet_link_tag "all" | |
| - | |
| + | |
| // Include netlify identity widget for user registration | |
| script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript" | |
| body | |
| @@ | @@ -19,4 +19,4 @@ html |
| main.main-content | |
| = yield | |
| - | = javascript_include_tag 'main' |
| \ No newline at end of file | |
| + | = javascript_include_tag 'main', async: true |
| \ No newline at end of file | |