I'm pretty new with Hugo and am struggling a bit with the documentation as it feels pretty fragmented with incomplete examples.
I've created a new site hugo new site site-name
along with a new theme hugo new theme theme-name
.
In the documentation page for SASS/SCSS there's the following example:
{{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }}
Not sure where that's supposed to go, how the whole pipeline works. Also, this seems to be specifically looking for files under an assets
folder even though the theme is created with a static/css
folder. Most examples I find on the web are all old setups using gulp to compile before the support being added to hugo (from my understanding)
assets
folder. – Bromic