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

Use hugo.IsServer instead. #181

Open
ProfLear opened this issue Sep 18, 2024 · 1 comment
Open

Use hugo.IsServer instead. #181

ProfLear opened this issue Sep 18, 2024 · 1 comment

Comments

@ProfLear
Copy link

I can see in your git that you appear to have changed this to avoid the error, but when I try to use this theme, I still get the error:

.Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.135.0. Use hugo.IsServer instead.

I have tried cloning and using this as a submodule. I get the same error. I am not sure if I am doing something wrong, or if there is some other error. I cannot locate any place where .Site.IsServer is still being used in your repo, but I still get this error nonetheless.

@Kariton
Copy link
Contributor

Kariton commented Sep 28, 2024

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