Coder Social home page Coder Social logo

Comments (23)

chipzoller avatar chipzoller commented on May 27, 2024 10

Search is already planned for the 2.0 release.

from hugo-clarity.

razonyang avatar razonyang commented on May 27, 2024 5

@vietanhdev Yes, that tutorial was really useful. I also implemented search feature for my theme.

I suggest using Fuse.js instead of Lunr.js in this theme, since Lunr doesn't work well in a non-English language.

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024 5

For those watching this issue, there have been some significant advancements made in the search functionality that Clarity will eventually adopt, including some functionality that isn't found many other places. Stay tuned.

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024 2

Yes, we will be adopting a search implementation by @onweru in his Compose theme. If you'd like to supply fixes or feedback on the search function, it would be best to use this issue so it can be tracked in one spot.

from hugo-clarity.

vietanhdev avatar vietanhdev commented on May 27, 2024 2

I implemented my search page using this tutorial. Hope this will help.

from hugo-clarity.

onweru avatar onweru commented on May 27, 2024 2

We're working on it, so far we have got this far. The current implementation is using Fuse.js as advised earlier in this thread.

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024 2

Search is still planned for Clarity v2 which should kickoff in the next couple of months. If you'd like to get a feel for what we're planning on bringing to Clarity, check out @onweru custom search function here.

from hugo-clarity.

ainy0293 avatar ainy0293 commented on May 27, 2024 2

I would also like to ask, is there any time plan for the 2.0 version of the search function? thinks

from hugo-clarity.

onweru avatar onweru commented on May 27, 2024 2

@LITUATUI, as soon as next monday.

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024 2

Will do ASAP

from hugo-clarity.

sosiristseng avatar sosiristseng commented on May 27, 2024 1

FYI, there is a partial theme implementation of Fuse.js search: https://github.com/kaushalmodi/hugo-search-fuse-js

The search page is hosted on Hugo-bare-min theme: https://hugo-bare-min.netlify.app/search/

from hugo-clarity.

sosiristseng avatar sosiristseng commented on May 27, 2024 1

Wow! The search bar is pretty smooth and polished. And the compose theme also looks very nice for documentation.

I appreciate your hard work and look forward to seeing this function added to clarity.

from hugo-clarity.

onweru avatar onweru commented on May 27, 2024 1

@sosiristseng, we'll get there. Thank you.

from hugo-clarity.

Fingel avatar Fingel commented on May 27, 2024 1

Just wanted to say, amazing theme. I was just about to start implementing search with it and found this. Now I think I'll just be patient. Thanks! Please post here if you need any help.

from hugo-clarity.

branchus avatar branchus commented on May 27, 2024 1

Perfect, I came here to suggest this and saw this has been planned, Thank you!

from hugo-clarity.

onweru avatar onweru commented on May 27, 2024 1

@chipzoller, I think the first implementation of search on this theme is in. Please review it when you can.

from hugo-clarity.

razonyang avatar razonyang commented on May 27, 2024

Is somebody working on this? If not, maybe I can help.

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024

Nice work there, and nice blog!

from hugo-clarity.

andyjenkins1 avatar andyjenkins1 commented on May 27, 2024

All just checking in to see what the latest update was on Search?, Noticed the last update was Dec, so just checking to see if any further progress?. Great theme and excellent work!.

from hugo-clarity.

andyjenkins1 avatar andyjenkins1 commented on May 27, 2024

Thats, great, appreciate the update!.

from hugo-clarity.

joesan avatar joesan commented on May 27, 2024

I think this is another missing bit in this awesome theme. Any plans as to when this could go live?

from hugo-clarity.

LITUATUI avatar LITUATUI commented on May 27, 2024

Any news?

from hugo-clarity.

chipzoller avatar chipzoller commented on May 27, 2024

Since an initial implementation of search by @onweru is now available, I'm closing this issue. We will work towards polishing the search feature, and for any bugs or requests around search please open a new issue.

from hugo-clarity.

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.