Swap out calls to template in layouts for partial

This seems to get everything working with the current version of hugo.
Merge pull request #1 from byAtlas/master

Not really maintaining this anymore, and it looks fine to me, so I'll take your word for it. Thanks!