Revise the deprecation strategy
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Nov 2016 16:26:13 +0000 (17:26 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Nov 2016 16:26:13 +0000 (17:26 +0100)
commitf1ed89fec41302ef37ad86348063a7a9be4ef587
tree7b9e12aa01140ad0fdcc5358d508d321b977f1bc
parent0a0db9cd259bf14bf38f1c954e39ecaa70f26923
Revise the deprecation strategy

Git users and theme authors two Hugo releases to fix:

1. With a visible warning
2. Then with an ERROR that exits with -1

Fixes #2726
helpers/general.go
hugolib/page.go
hugolib/page_test.go
hugolib/site.go