kaiiiz / hugo-theme-monochrome

Monochrome is a fast, clean and responsive hugo theme
https://kaiiiz.github.io/hugo-theme-monochrome/
MIT License
171 stars 52 forks source link

Single Page Demo for balloon layout not working #50

Closed hrishikeshh closed 1 month ago

hrishikeshh commented 9 months ago

On the demonstration site here, the single-page view for the balloon layout is not working (click on it).

Moreover, when I try to recreate a balloon layout based on the structure given in the documentation and placing the necessary files in a sample '/about' folder, it gives this error while rendering. Source

image

Help will be appreciated. Thanks

kaiiiz commented 9 months ago

I've checked your website and found some misconfigured configs.

  1. balloon_resources should be /about instead of /content/about
  2. content/about/_index.md should be renamed to content/about/index.md (this is the bug that I'll resolve later. It should work fine for both _index.md and index.md after the fix)
hrishikeshh commented 9 months ago

Thanks for the prompt reply @kaiiiz

  1. balloon_resources should be /about instead of /content/about

I was trying out for various paths (absolute and relative).

  1. content/about/_index.md should be renamed to content/about/index.md (this is the bug that I'll resolve later. It should work fine for both _index.md and index.md after the fix)

Renaming the _index.md as index.md solved this issue for now.

kaiiiz commented 1 month ago

Fixed in v3.0.0.