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

Regression: cannot define output formats per language #11159

Closed
jmooring opened this issue Jun 25, 2023 · 4 comments · Fixed by #11182
Closed

Regression: cannot define output formats per language #11159

jmooring opened this issue Jun 25, 2023 · 4 comments · Fixed by #11182
Assignees
Labels
Milestone

Comments

@jmooring
Copy link
Member

This worked in v0.111.3 and earlier:

[languages.de.outputFormats.json]
path = 'xx'

With v0.112.0 and later:

Error: failed to create config from result: failed to decode config for language "de": unknown config key "outputformats"

Reference: https://discourse.gohugo.io/t/44976

Minimal example:

git clone --single-branch -b hugo-forum-topic-44976 https://github.com/jmooring/hugo-testing hugo-forum-topic-44976
cd hugo-forum-topic-44976
rm -rf public/ && hugo && tree public
@yimmy23
Copy link

yimmy23 commented Jun 28, 2023

I encountered a similar issue in the PaperMod theme. I am usingHugo PaperMod Config ,displays an error message "failed to create config from result: failed to decode config for language "fr": unknown config key "profilemode".

@idarek
Copy link

idarek commented Jun 28, 2023

I encountered a similar issue in the PaperMod theme. I am usingHugo PaperMod Config ,displays an error message "failed to create config from result: failed to decode config for language "fr": unknown config key "profilemode".

Assuming that issue is closed, @bep has sorted this out so we just need to wait for next release to get this fixes. Use 0.111.3 for now until next release.

@yimmy23
Copy link

yimmy23 commented Jun 29, 2023

Thank you for your reply!

@jmooring
Copy link
Member Author

@yimmy23 The error you reported:

failed to create config from result: failed to decode config for language "fr": unknown config key "profilemode".

is not related to this issue.

Please create a topic in the forum (https://discourse.gohugo.io/). This is issue is closed.

@gohugoio gohugoio locked as resolved and limited conversation to collaborators Jun 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants