Hugo 0.43 toCSS include path

Perhaps you could simply use a file system link to link the actual folder to the assets/scss folder?

1 Like

Do file system links work with git?

Yes symlinks work with Git.

1 Like

The problem is that hugo sets the libsass include path as the resource file directory, and the user can’t add directories to the path, so all the imports have to be relative to that file. So using links could result in “simpler” relative paths, but doesn’t resolve the “issue”. I mean I’m not stuck with this it is just an inconvenience, and the solutions are kind of hacky.

I just saw includePaths supported in Hugo 0.45. Thanks the Hugo team for being awesome.

3 Likes