nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.53k stars 421 forks source link

Invalid key, a value has already been defined for name #1761

Closed FreeMagic200 closed 1 month ago

FreeMagic200 commented 1 month ago

Describe the bug
A parsing error occurs when attempting to read the TOML configuration generated by blowfish-tools after set an author name. The error indicates that the key name is defined multiple times.

To Reproduce
Steps to reproduce the behavior:

  1. Generate a configuration using blowfish-tools.
  2. Attempt to parse the generated TOML file.
  3. See the error regarding the duplicate name key.

Expected behavior
The TOML parser should successfully process the configuration without errors.

Screenshots
image

config/_default/languages.en.toml

Desktop:

Hugo & Blowfish versions

Additional context
The name key is defined both under author and params.author, leading to the parsing conflict.

FreeMagic200 commented 1 month ago

oh, I should submit this issue under blowfish-tools