Added missing "Social" section to SiteInfo
authordelputnam <del@putnams.net>
Thu, 2 Jul 2015 14:04:17 +0000 (10:04 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 Jul 2015 17:26:01 +0000 (19:26 +0200)
commit9b3d0cf5bf669603fa017e7054fe0ef8343c9e1d
treea87bd4136eb2a02bcc596b1d4669fadadd8661ce
parent24c8226cbfd0c844c79937e0ccd58d8e899a3b4f
Added missing "Social" section to SiteInfo

I could be wrong here, but it looks to me like .Site.Social.facebook is used in tpl/template_embedded.go, but the variable is never set. I've added a line to initializeSiteInfo to map the info from config into this variable.
hugolib/site.go