summaryrefslogtreecommitdiffstats
path: root/config.yaml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 20:46:01 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 20:46:01 +0200
commit6147926629ab0b0ceac9797ee780643c3592deed (patch)
tree91a19746e586e06a385cbf501a4f94608eefd2e3 /config.yaml
parentc87c4c200c3f6a2e6474623db4aad8b2b30e713b (diff)
downloadgohugo-theme-ed-6147926629ab0b0ceac9797ee780643c3592deed.tar.gz
Use hugo modules to bundle assets
Diffstat (limited to 'config.yaml')
-rw-r--r--config.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
new file mode 100644
index 0000000..1e66daa
--- /dev/null
+++ b/config.yaml
@@ -0,0 +1,15 @@
+module:
+
+ hugoVersion:
+ extended: true
+ min: '0.95.0'
+
+ imports:
+ - path: github.com/jquery/jquery-dist
+ mounts:
+ - source: dist/jquery.js
+ target: assets/js/vendor/jquery.js
+ - path: github.com/olivernn/lunr.js
+ mounts:
+ - source: lunr.js
+ target: assets/js/vendor/lunr.js