zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Add CustomJS #46

Closed guyou closed 3 years ago

guyou commented 3 years ago

Is your feature request related to a problem? Please describe. I wish to be able to add leaflet. But it requires bothe a CSS and a JS script.

Describe the solution you'd like Having a CustomJS Site property (or section property) could made it easily adaptable.

zwbetz-gh commented 3 years ago

I like the idea. And this was already partially supported, via custom CSS.

But now both custom CSS and JS files are supported, and better documented.

See commit 9824fe3e2e0b54c7320df87effcfed1455989119

Closing this.