Pagefind and Micro.blog actions
manton.org·2d
🔗Webmentions
Preview
Report Post

Today I added support for Pagefind to Micro.blog. Pagefind is a search library for static sites. Because Micro.blog uses Hugo underneath, Pagefind fits nicely into our architecture.

You can see it in action on my own blog’s search page.

Along the way to adding this, I realized we could extend more of Micro.blog’s publishing. Because Pagefind runs on your built HTML pages, after your Markdown goes through Hugo, we needed a hook into the processing of your blog. I’m calling these actions. There are a few now and will be more later.

You will find an Edit Actions button on the blog settings page. When adding a new action, you’ll see these options:

Each acti…

Similar Posts

Loading similar posts...