Zettels icon indicating copy to clipboard operation
Zettels copied to clipboard

Search not returning items

Open MartinBernstorff opened this issue 3 years ago • 3 comments

Hi Cris! Thanks a lot for this, very interesting!

I'm trying to deploy, with repo here and a test page here. However, search doesn't return any items.

Any ideas? 🙏

MartinBernstorff avatar Jan 16 '22 15:01 MartinBernstorff

Hi @martbern,

It seems that Hugo is searching for the json that populates the post list at: "https://martbern.github.io/index.json" which doesn't exist.

It should be using "https://martbern.github.io/test_garage_door/index.json".

I use the theme at the root folder. Maybe there's something wee need to change in order to make it work with subfolders. I will try to make some tests this week, let me now if you discover something :)

crisrojas avatar Jan 17 '22 14:01 crisrojas

Thanks a lot, Cris! I'm currently in an MVP stage, so I've taken to hard-coding the path. If it turns out I keep making use of the page, I'll investigate further 👍

MartinBernstorff avatar Jan 17 '22 15:01 MartinBernstorff

Great! Let me know once you get the production ready version if you want me to add it to the README.md under the "sites using zettles" section (or just do a PR) 👍

crisrojas avatar Jan 17 '22 15:01 crisrojas