diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-10 20:05:52 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-10 20:05:52 +0200 |
commit | 544f0a6394b0e085d355e8217fc5bb3d96c12a98 (patch) | |
tree | 5bf15166f4eb65e7da41ea638644579877868fc9 /hugolib/page_paths.go | |
parent | 5794a265b41ffdeebfd8485eecf65cf4088d49d6 (diff) |
hugolib: The deprecated Extension, Now and TargetPath will now ERROR
Diffstat (limited to 'hugolib/page_paths.go')
-rw-r--r-- | hugolib/page_paths.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_paths.go b/hugolib/page_paths.go index f842abdd7..1fe8ea599 100644 --- a/hugolib/page_paths.go +++ b/hugolib/page_paths.go @@ -251,6 +251,6 @@ func (p *Page) createRelativePermalinkForOutputFormat(f output.Format) string { func (p *Page) TargetPath() (outfile string) { // Delete in Hugo 0.22 - helpers.Deprecated("Page", "TargetPath", "This method does not make sanse any more.", false) + helpers.Deprecated("Page", "TargetPath", "This method does not make sanse any more.", true) return "" } |