I am working to get rid of Page's .Hugo is deprecated
messages, but I am stuck in replacing .Hugo.Version
. In my i18n
files I have the following
- id: poweredBy # Accepts HTML
translation: '<a href="http://gohugo.io">Hugo v{{ .Hugo.Version }}</a> powered ...</a>'
I tried to use hugo.Version
, but I get function "hugo" not defined
. Since there is no documentation for the hugo
function yet, I am asking here.
Thanks in advance.
EDIT: After posting this, I figured that $.hugo.Version
works.