Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about .Page.Params.redirect_url #8

Closed
mandaris opened this issue Jan 12, 2022 · 2 comments
Closed

Question about .Page.Params.redirect_url #8

mandaris opened this issue Jan 12, 2022 · 2 comments

Comments

@mandaris
Copy link
Contributor

I'm working on the transition to Hugo .91 and I'm seeing an issue with line 4 of navigation.html.

{{ if .Page.Params.redirect_url }}

What is this line supposed to be doing?

@chrishannah
Copy link
Owner

That's a very good question. I'm pretty sure I knew what it was when I first wrote the theme, but it appears as if it's not needed, so I've removed it.

@mandaris
Copy link
Contributor Author

Found this on the release notes page.
https://github.com/gohugoio/hugo/releases/tag/v0.92.0

The .Page methods marked as deprecated in Hugo 0.55 are now removed. They have been logged as an ERROR for a long time now and you will still get a clear error if you use them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants