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

phototitle and description not shown for directories starting with uppercase letter #12

Open
Klaus-Tockloth opened this issue Feb 19, 2021 · 2 comments
Assignees
Labels
upstream bug A bug exists in an upstream project, and that bug is causing this issue

Comments

@Klaus-Tockloth
Copy link

Perhaps I haved missed something ... but this works:

title: "Einrichtung"
date: 2021-02-19T13:18:45+01:00
albumthumb: "interiors/minh-pham-OtXADkUh3-I-unsplash.jpg"
resources:
- src: interiors/alex-quezada-i3EBALw_t9o-unsplash.jpg
- src: interiors/gaelle-marcel-DFt3T5r_4FE-unsplash.jpg
- src: interiors/kari-shea-tOVmshavtoo-unsplash.jpg
  phototitle: Grass cat
  description: This cat stalks through the grass
- src: interiors/minh-pham-OtXADkUh3-I-unsplash.jpg
- src: interiors/oriento-xXNcpfbHeKM-unsplash.jpg
- src: interiors/r-architecture-W6YhRmR8nuA-unsplash.jpg
  phototitle: Cool cat
  description: One of the coolest cats
---

... and this doesn't work (directory start with uppercase letter; phototitle and description not shown):

title: "Nature"
date: 2021-02-19T13:34:21+01:00
albumthumb: "Nature/frederik-lower-tatFzQW0a3s-unsplash.jpg"
resources:
- src: Nature/frederik-lower-tatFzQW0a3s-unsplash.jpg
  phototitle: Grass cat
  description: This cat stalks through the grass
- src: Nature/geran-de-klerk-wYy3rvvgjAU-unsplash.jpg
  phototitle: Grass cat
  description: This cat stalks through the grass
---

Any idea? Is this a feature, bug or a misusing?

@kc0bfv
Copy link
Owner

kc0bfv commented Feb 20, 2021

Hrm - I'm thinking it's related to this problem rhyst has reported. I can't find their github issue though, and am looking for more discussion on the problem.

https://discourse.gohugo.io/t/upper-case-letters-in-path-causing-match-to-fail/28069

@kc0bfv
Copy link
Owner

kc0bfv commented Mar 21, 2021

This seems to be a bug in Hugo or a globbing library it uses - another user reported it a bit ago. I'm not a "Go" guy at all but when I get a chance I'll try to track it down and solve it up there.

Bug report:
gohugoio/hugo#7686

@kc0bfv kc0bfv self-assigned this Mar 21, 2021
@kc0bfv kc0bfv added the upstream bug A bug exists in an upstream project, and that bug is causing this issue label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug A bug exists in an upstream project, and that bug is causing this issue
Projects
None yet
Development

No branches or pull requests

2 participants