body element of the page has a certain class, or the local storage variable is set. In other words, I need to do something like
I can write necessary jQuery code to set the variable or check the
body element for the class; what I can’t figure out is how connect the results of that to Hugo, either by setting a variable or taking some other action that will allow me to write a conditional in a Hugo template.
My apologies if this has been asked or is explained somewhere. I’m happy to RTFM if someone can point me to the right FM to R :-).