Handle 404 thread safely
authorbep <bjorn.erik.pedersen@gmail.com>
Sat, 7 Mar 2015 14:18:00 +0000 (15:18 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Sat, 7 Mar 2015 14:18:00 +0000 (15:18 +0100)
commit602ceec06d0ee2065d39b42a646ba72ab443fb81
tree144b8753164213e9810ffb844d62f8895e9e035c
parent851badcb7e819ad425c7eee2f30eee9a73bc37ea
Handle 404 thread safely

Replaces hack that temporarily changes a global flag.

Fixes #955
Fixes #939
hugolib/site.go
hugolib/site_test.go
target/page.go