Move writing next to rendering
authorNoah Campbell <noahcampbell@gmail.com>
Wed, 2 Oct 2013 02:58:15 +0000 (19:58 -0700)
committerNoah Campbell <noahcampbell@gmail.com>
Tue, 8 Oct 2013 16:40:40 +0000 (18:40 +0200)
commit19cb6c7819baa0daa7c6d6f0c23481578171ead8
treeaca6aa06474f003b7660b7155213d04aa26333b5
parent2176d2c197aeb265b7c51aae1d007eaf11690520
Move writing next to rendering

All render(Thing) calls have a WritePublic call directly after it.  This
refactor creates one function that makes the specific call sequence.
hugolib/site.go
hugolib/site_test.go