add warning about .Hugo variable being deprecated

This commit is contained in:
Victor Massé authored and Kaushal Modi committed 2019-06-12 13:55:36 -04:00
1 parent 77f74ced56
commit 0edbd59c48
1 file changed
+5
+5
View File
@@ -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