diff --git a/hugo.yaml b/hugo.yaml index 1610483..71cc2db 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -231,4 +231,22 @@ privacy: module: hugoVersion: extended: true - min: "0.104.0" \ No newline at end of file + min: "0.104.0" + mounts: + - source: content + target: content + - source: static + target: static + - source: layouts + target: layouts + - source: data + target: data + - source: assets + target: assets + - source: node_modules + included_files: "*/alpinejs/dist/*" + target: assets + - source: i18n + target: i18n + - source: archetypes + target: archetypes diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 629ba17..49a477f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,6 @@ - +{{ $alpineJS := resources.Get "alpinejs/dist/cdn.min.js" | js.Build "js/alpinejs.min.js" }} + {{ $js := resources.Get "js/darkmode.js" | js.Build }}