dgrigg / hugo-lunr Goto Github PK
View Code? Open in Web Editor NEWNode module for creating lunr.js search indexes for static Hugo sites
Node module for creating lunr.js search indexes for static Hugo sites
The script fails when the public
directory is not (yet) present.
I am getting an access denied
error when I navigate to the https://lunrjs.com/example/ page.
If you're looking for an alternative to this tool (given that it's unmaintained) - I've written a command line tool in Rust that does the same job. Pull/feature requests are welcome.
For deployment I use hugo
without the -D
draft flag. As far as I can tell draft content is excluded from the index. While developing a site I often mark content with draft: true
in the front matter and run hugo -D server
on my local machine. It would be nice if there was an option to include draft content in the search index.
This generates an index file with the default permalink structure. If you use anything other than the default setting, the search results will go to 404 errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.