Open fboehm opened 4 years ago
Also, is there a better way to 'merge' the objects in .Site.Data? Right now, in noam's code, we manually merge the named objects, in a series of merge commands... There must be better way to write this. Plus, it's problematic if one of the .Site.Data fields is empty/missing.
Think, also, about empty variables. Maybe use {{with variable}} ... {{end}} when dealing with a possibly empty variable, like .Site.Data