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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help