Code Monkey home page Code Monkey logo

Comments (4)

mbrn-in avatar mbrn-in commented on June 12, 2024 1

Thanks for the fix @tfsojon . The problem has been solved.

from hugo-modules.

tfsojon avatar tfsojon commented on June 12, 2024

Hello @mbrn-in
Thank you for using our Hugo Module.
Basically the Bookworm Hugo themes post-content is duplicated from one post to another.
That's why the search result look like duplicated. but the search-result comes from the individual keyword match.

Try search with title, tag, category or something else to understand the scenario.
https://demo.gethugothemes.com/bookworm/site/?s=to

from hugo-modules.

mbrn-in avatar mbrn-in commented on June 12, 2024

Hi @tfsojon, thanks for your message.

The content on each page in Bookworm theme is different right?
The search index here https://demo.gethugothemes.com/bookworm/site/searchindex.json has unique content for each page. But the search shows duplicate results.

I observed this issue while using your search module in one of my websites. Then I came back to the Bookworm demo site and realized that the error exists even there.

from hugo-modules.

tfsojon avatar tfsojon commented on June 12, 2024

Hi @mbrn-in,
Update your Hugo module using hugo mod clean && hugo mod get -u ./... && hugo mod tidy
or in our bookworm theme npm run update-modules / yarn update-modules

If module not updates correctly with the command
follow the steps
1 - delete go.sum file
2 - removegithub.com/gethugothemes/hugo-modules/search v0.0.0-******-***** // indirect line
3 - then start hugo server
image

from hugo-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.