add warning about .Hugo variable being deprecated

This commit is contained in:
Victor Massé 2019-04-19 11:40:58 +02:00 committed by Kaushal Modi
parent 77f74ced56
commit 0edbd59c48

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