Remove deprecated usage of ".Page.URL" in theme
The current theme uses ".URL" in a number of places that is resulting in
the current warning message:
Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
Update the usage of this variable to ".Permalink" to stop the warning
messages being produced.
Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
parent
22a70d1a
No related branches found
No related tags found
Showing
- themes/beautifulhugo/layouts/_default/list.html 2 additions, 2 deletionsthemes/beautifulhugo/layouts/_default/list.html
- themes/beautifulhugo/layouts/index.html 2 additions, 2 deletionsthemes/beautifulhugo/layouts/index.html
- themes/beautifulhugo/layouts/partials/head.html 2 additions, 2 deletionsthemes/beautifulhugo/layouts/partials/head.html
- themes/beautifulhugo/layouts/partials/nav.html 2 additions, 2 deletionsthemes/beautifulhugo/layouts/partials/nav.html
Please register or sign in to comment