Comments (23)
Search is already planned for the 2.0 release.
from hugo-clarity.
@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.
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.
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.
I implemented my search page using this tutorial. Hope this will help.
- My fork of this theme (with search): https://github.com/vietanhdev/hugo-clarity.
from hugo-clarity.
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.
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.
I would also like to ask, is there any time plan for the 2.0 version of the search function? thinks
from hugo-clarity.
@LITUATUI, as soon as next monday.
from hugo-clarity.
Will do ASAP
from hugo-clarity.
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.
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.
@sosiristseng, we'll get there. Thank you.
from hugo-clarity.
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.
Perfect, I came here to suggest this and saw this has been planned, Thank you!
from hugo-clarity.
@chipzoller, I think the first implementation of search on this theme is in. Please review it when you can.
from hugo-clarity.
Is somebody working on this? If not, maybe I can help.
from hugo-clarity.
Nice work there, and nice blog!
from hugo-clarity.
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.
Thats, great, appreciate the update!.
from hugo-clarity.
I think this is another missing bit in this awesome theme. Any plans as to when this could go live?
from hugo-clarity.
Any news?
from hugo-clarity.
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)
- [Bug] Inline MathJax/Katex doesn't work HOT 1
- [Bug] Caret icon path is incorrect if iconsDir is changed. HOT 1
- [Bug] `blog_search_field_placeholder` i18n key does not seem to be used. HOT 1
- [Bug] Path to thumbnail images incorrect on second and higher page
- [Bug] ReadingTime broken after git submodule update HOT 1
- [Bug] Related posts in series not displayed in example site
- [Docs] HOT 3
- [Feature]
- [Feature] Tabs for code blocks
- [Bug] [Feature Request] tags, categories & series items use posts' layout
- [Bug] Posts that have today's date but no time get first published at the end of the day HOT 4
- [Feature] Multipage Blog Post
- [Bug] featured: true / featured: false not working as expected HOT 5
- [Bug] If an image is scalable or not is not determined correctly HOT 1
- [Bug] Submenus should be disappeared without focus
- [Bug] Icon src property doesn't point to the correct path for the icons in static/icons/site.webmanifest
- [Feature] Improve Chinese translation and add search-related Chinese translations
- [Bug] There is a hard code text display in related.html
- [Feature] Add HTML meta nofollow parameter
- [Bug] Inline images are not working as advertised
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-clarity.