From 0edbd59c48d7bb3c42595424ae73817b91f8c08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Mass=C3=A9?= Date: Fri, 19 Apr 2019 11:40:58 +0200 Subject: [PATCH] add warning about .Hugo variable being deprecated --- content/en/variables/hugo.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/variables/hugo.md b/content/en/variables/hugo.md index a563831ff..4e394dfbf 100644 --- a/content/en/variables/hugo.md +++ b/content/en/variables/hugo.md @@ -19,6 +19,11 @@ toc: false wip: false --- +{{% warning "Deprecated" %}} +Page's `.Hugo` is deprecated and will be removed in a future release. Use the global `hugo` function. +For example: `hugo.Generator`. +{{% /warning %}} + It contains the following fields: .Hugo.Generator