Hello everyone,
I am facing a persistent issue with author display on my Hugo Blox Builder site after setting up multi-language support (Spanish (es) as the default, and English (en)). The author (admin) is not showing up on the Spanish posts, even though the profile is configured.
1. Source Code Repository (Required Context)
The issue appears to be related to the multi-language configuration not correctly resolving the author profile path for the default Spanish language (es).
Here is the link to my project repository where you can review the full context of the templates and configuration files:
GitHub - maicel1978/mi-sitio-personal: mi sitio web personal
2. Verified Configurations & Issue Details
- Theme: Hugo Blox Builder /
theme-academic-cv - Hugo Version:
0.143.0 extended - Issue: The author profile, defined as
authors: ["admin"]inindex.Rmd, fails to render on posts in the Spanish language (e.g.,https://bioestadisticaedu.com/post/siete-pecados-protocolos-clinicos/).
3. Critical Fix Attempted (contentDir Check)
I have tried to resolve a potential contentDir configuration conflict by ensuring config/_default/languages.yaml is the only source defining languages, and it includes the correct path for Spanish:
# In config/_default/languages.yaml (The only source for 'languages:')
es:
languageCode: es-es
weight: 1
contentDir: content/es/ # <--- This line is verified
# ... other parameters
4. The Question
Despite the contentDir corrections and the author file existing at content/es/authors/admin/_index.md, the author profile still fails to render on the Spanish posts.
Could you please help identify if there is a specific rule or an override in the Hugo Blox Builder theme that is preventing the theme from locating or rendering the admin profile in the es (Spanish) language context?
Thank you for your help!