nunocoracao / blowfish

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

Hero layout can't render profile properly (v2.76.0 or later) #1804

Closed zen96k closed 1 month ago

zen96k commented 1 month ago

Describe the bug Hero layout can't render profile properly (v2.76.0 or later).

To Reproduce Steps to reproduce the behavior:

  1. In params.toml, set layout = "hero"
  2. Update Blowfish to v2.76.0 or later
  3. Run dev server
  4. See home of website

Expected behavior Home of website should look like this (v2.75.0 or former). clipboard-202410182144-eybk9

Actual behaviour Home of website looks like this. It lacks auther.name, author.image, auther.headline, and author.links. Instead, it renders title. clipboard-202410182139-471ou

Desktop (please complete the following information):

Hugo & Blowfish versions Hugo: 0.131.0 Blowfish: v2.76.0

zen96k commented 1 month ago

Oh I just found this. {53648C58-CAA0-456F-9B0B-DB3D2D8C3E5D}

zen96k commented 1 month ago

I moved [author] section from language.X.toml to params.toml. Then hero layout rendered profile properly. My misstake... apology🙇🏻‍♂️