Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-03-18 14:27:56 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-18 14:27:56 +0300
commitf4244be036716871dc6d4058d7bb08f1b58d9d53 (patch)
tree6dfd6ea18ba23945e1475896a0d3bb3b87c986d6 /helpers
parent3273fce044f06f90ae296f9b42431958d2b06e7f (diff)
Calculate the next Hugo version in Deprecated
Deprecation will be an ongoing activity for many future versions.
Diffstat (limited to 'helpers')
-rw-r--r--helpers/general.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go
index f7ff3381d..3e0a85fbc 100644
--- a/helpers/general.go
+++ b/helpers/general.go
@@ -133,7 +133,7 @@ func Deprecated(object, item, alternative string) {
}
deprecatedLogs.Lock()
if !deprecatedLogs.m[key] {
- jww.ERROR.Printf("%s's %s is deprecated and will be removed in Hugo 0.15. Use %s instead.", object, item, alternative)
+ jww.ERROR.Printf("%s's %s is deprecated and will be removed in Hugo %s. Use %s instead.", object, item, NextHugoReleaseVersion(), alternative)
deprecatedLogs.m[key] = true
}
deprecatedLogs.Unlock()