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
This commit is contained in:
Bjørn Erik Pedersen
2016-11-23 17:26:13 +01:00
parent 0a0db9cd25
commit f1ed89fec4
4 changed files with 25 additions and 11 deletions

View File

@@ -1270,6 +1270,7 @@ func TestIndexPageSimpleMethods(t *testing.T) {
} {
n := &Page{pageInit: &pageInit{}, Kind: KindHome}
n.RSSLink = "rssLink"
if !this.assertFunc(n) {