zzo
November 2, 2020, 3:34am
5
The error comes from the sass library
The !global
flag may only be used to set a variable that has already been declared at the top level of a file. It may not be used to declare a new variable.
Check out
opened 12:27AM - 29 Oct 20 UTC
closed 06:22PM - 29 Oct 20 UTC
Not sure what happened, but the search broke. I did test it first on local. Mayb… e I had cached results on local. Once deployed the search shows `undefined`.

On clicking the result goes to url like this : `https://crushingcode.nisrulz.com/posts/`**undefined**
Can also try live [here](https://crushingcode.nisrulz.com/posts/)
I believe it comes from this commit: https://github.com/zzossig/hugo-theme-zzo/commit/ed920bdd6d7bd0e5e45e7a2f9f32db3452c0a06c
opened 09:07AM - 06 Oct 20 UTC
closed 05:12AM - 12 Oct 20 UTC
Getting the following error during Hugo loading
themes/zzo/assets/sass/abstra… cts/_mixins.scss:
!global assignments won't be able to declare new variables in future versions.
Consider adding `$theme-map: null` at the top level.
It's not breaking anything
2 Likes