nunocoracao / blowfish

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

๐Ÿ› Zen mode: Some text disappears #1557

Open Ast3risk-ops opened 3 months ago

Ast3risk-ops commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

Text between a Gallery and normal image disappears while in Zen mode.

To Reproduce Steps to reproduce the behavior:

  1. Add a gallery with a figcaption underneath
  2. Add text
  3. Add image with caption
  4. Enter Zen mode

Expected behavior A clear and concise description of what you expected to happen.

The text is not hidden.

Screenshots If applicable, add screenshots to help explain your problem.

https://github.com/nunocoracao/blowfish/assets/83875983/cc8f8fe9-a2d8-4f4d-9a2e-28831c9d4f83

Before ![image](https://github.com/nunocoracao/blowfish/assets/83875983/2590c1f7-491b-4f59-a31e-69b361945d05)
After ![Screenshot_20240628_125949](https://github.com/nunocoracao/blowfish/assets/83875983/c46ea603-4875-4bb8-9152-6a2aa406317e) Even the `figcaption` disappears.
Code of section ```md {{< gallery >}} Pavlov VR I Expect You to Die {{< /gallery >}}
Pavlov VR (AKS) & I Expect You to Die (Schell Games)
I was also enticed by a program called Immersed offering a full work solution in VR with virtual monitors. ![Visor promo photo](visorpromo.png "Visor promo photo (Immersed)") ```

Desktop (please complete the following information):

Hugo & Blowfish versions

Hugo: 0.128.0+extended Blowfish: 2.72.1

Additional context Add any other context about the problem here.

nunocoracao commented 3 months ago

@Ast3risk-ops do you have a link I can use to see the behavior live?

Ast3risk-ops commented 3 months ago

@Ast3risk-ops do you have a link I can use to see the behavior live?

This is an unreleased draft, so I really don't want to share it.

I only noticed the bug while I was writing the post.

I can do whatever stuff you need me to look at.

Ast3risk-ops commented 3 months ago
Before ![image](https://github.com/nunocoracao/blowfish/assets/83875983/2590c1f7-491b-4f59-a31e-69b361945d05)
After ![Screenshot_20240628_125949](https://github.com/nunocoracao/blowfish/assets/83875983/c46ea603-4875-4bb8-9152-6a2aa406317e) Even the `figcaption` disappears.

Updated to Hugo 0.128 and it's still there. Updated OP.

Updated the theme and it's still there.

I noticed galleries don't have options for captions so I added my own after looking at the HTML of the markdown-based captions.