fboehm / noamross

Hugo theme based on Noam Ross's new website, http://www.noamross.net
Other
0 stars 0 forks source link

verify that theme works with blogdown #6

Open fboehm opened 4 years ago

fboehm commented 4 years ago

Think, also, about empty variables. Maybe use {{with variable}} ... {{end}} when dealing with a possibly empty variable, like .Site.Data

fboehm commented 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.