Skip to content

Commit

Permalink
fix for github.com/decaporg/issues/187
Browse files Browse the repository at this point in the history
  • Loading branch information
pnee-lb authored and maxcell committed Jul 8, 2022
1 parent 37b3456 commit 74f8ad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ <h3 class="f4 b lh-title mb2 primary">Social media</h3>

{{ partial "svg" . }}

<script src="/app.js"></script>

{{ $app := .Site.Data.webpack.app }}
{{ with $app.js }}
<script src="{{ relURL . }}"></script>
{{ end }}
1 change: 1 addition & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 74f8ad0

Please sign in to comment.