mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-26 08:18:53 +00:00
add warning about .Hugo variable being deprecated
This commit is contained in:
committed by
Kaushal Modi
parent
77f74ced56
commit
0edbd59c48
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user