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

为什么profilemode是unknown config key #6

Open
zhengshutao opened this issue Jun 4, 2023 · 4 comments
Open

为什么profilemode是unknown config key #6

zhengshutao opened this issue Jun 4, 2023 · 4 comments

Comments

@zhengshutao
Copy link

使用git submodule update --init之后
再使用hugo server -D出现error message:
Error: command error: failed to create config from result: failed to decode config for language "en": unknown config key "profilemode"

@xyming108
Copy link
Owner

xyming108 commented Jun 4, 2023 via email

@Beeta
Copy link

Beeta commented Jun 5, 2023

遇到了同样的问题,好像是hugo最新版本v0.112,与这个配置不兼容

@zigzagpig
Copy link

我也有这个问题., 111版本 可以用.

@lilPiper
Copy link

https://github.com/xyming108/sulv-hugo-papermod/blob/main/config.yml#L36
config 配置文件中,在 profileMode: 前面添加 params: ,即:

params:
  profileMode:

In config.yml (the configuration file), add params: before profileMode:. This means:

params:
  profileMode:

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

5 participants