You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance using {{.Site.Sections}} in a <script> will kill hugo with a stackoverflow. Presumably, golang wants to convert the variable to JSON due to the context and this fails.
What is the best way to pass down Hugo variables to javascript?