diff --git a/ckanext/ozwillo_theme/fanstatic/jquery-ui.js b/ckanext/ozwillo_theme/assets/jquery-ui.js similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/jquery-ui.js rename to ckanext/ozwillo_theme/assets/jquery-ui.js diff --git a/ckanext/ozwillo_theme/fanstatic/off-canvas.js b/ckanext/ozwillo_theme/assets/off-canvas.js similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/off-canvas.js rename to ckanext/ozwillo_theme/assets/off-canvas.js diff --git a/ckanext/ozwillo_theme/fanstatic/ozwillo.css b/ckanext/ozwillo_theme/assets/ozwillo.css similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/ozwillo.css rename to ckanext/ozwillo_theme/assets/ozwillo.css diff --git a/ckanext/ozwillo_theme/fanstatic/ozwillo.js b/ckanext/ozwillo_theme/assets/ozwillo.js similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/ozwillo.js rename to ckanext/ozwillo_theme/assets/ozwillo.js diff --git a/ckanext/ozwillo_theme/fanstatic/particles-loading.js b/ckanext/ozwillo_theme/assets/particles-loading.js similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/particles-loading.js rename to ckanext/ozwillo_theme/assets/particles-loading.js diff --git a/ckanext/ozwillo_theme/fanstatic/responsive.css b/ckanext/ozwillo_theme/assets/responsive.css similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/responsive.css rename to ckanext/ozwillo_theme/assets/responsive.css diff --git a/ckanext/ozwillo_theme/fanstatic/theme_location.js b/ckanext/ozwillo_theme/assets/theme_location.js similarity index 100% rename from ckanext/ozwillo_theme/fanstatic/theme_location.js rename to ckanext/ozwillo_theme/assets/theme_location.js diff --git a/ckanext/ozwillo_theme/assets/webassets.yml b/ckanext/ozwillo_theme/assets/webassets.yml new file mode 100644 index 0000000..889fbd9 --- /dev/null +++ b/ckanext/ozwillo_theme/assets/webassets.yml @@ -0,0 +1,19 @@ +ozwillo-css: + output: ckanext-ozwillo-theme/%(version)s_ozwillo.css + contents: + - ozwillo.css + +ozwillo: + output: ckanext-ozwillo-theme/%(version)s_ozwillo.js + extra: + preload: + - base/main + - base/ckan + - ckanext-ozwillo-theme/ozwillo-css + contents: + - ozwillo.js + - particles-loading.js + +# unused : +#jquery-ui.js theme_location.js off-canvas.js responsive.css +