diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index c7866a3bc..e32a588ae 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -50,4 +50,8 @@

Social media

{{ partial "svg" . }} - + +{{ $app := .Site.Data.webpack.app }} +{{ with $app.js }} + +{{ end }} diff --git a/webpack.common.js b/webpack.common.js index e1a462df7..c7dc0fb4d 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -9,6 +9,7 @@ module.exports = { entry: { main: path.join(__dirname, "src", "index.js"), cms: path.join(__dirname, "src", "js", "cms.js"), + app: path.join(__dirname, "src", "js", "app.js"), }, output: {