zeon-studio / hugoplate

Hugoplate is a free starter template built with Hugo and TailwindCSS that will save you hours of work.
https://zeon.studio/preview?project=hugoplate
MIT License
798 stars 218 forks source link

Reload the searchindex.json file twice. #121

Closed Remyy-y closed 4 months ago

Remyy-y commented 4 months ago

What is your Hugo Extended Version

0.123.4

What is your Go Version

1.22.0

What is your Node.js Version

20.12.0

Check for Existing Issues

Expected Behavior

When the js index is very large, it will make the website load very slowly.

Steps to Reproduce

Your display page also has this issue.

Code Reproduction URL

No response

Additional Information

image

tfsomrat commented 4 months ago

can you share your repository?

Remyy-y commented 4 months ago

can you share your repository?

image https://zeon.studio/preview?project=hugoplate

tfsomrat commented 4 months ago

Hey @Remyy-y, thank you for finding this. we have updated our search module, now you can update your modules by running npm run update-modules, it will solve the issue.