Yep. You run the indexer after building the site, and before uploading it. You only need to include the JS and CSS in the search page, unless you want to put a search field on every page.
Pagefind is indeed great. I have not implemented it in my website (yet), but I discovered it through other Eleventy websites and tested it myself. Pagefind is my go-to recommendation for anyone who wants to add a search function in their static websites.
Finally converted my websiteās template engine from Nunjucks to Vento.
Unfortunately, for some unknown reason, when I tried to deploy my website from its Gitea repository on 32-Bit Cafe via Gitea action, it failed to generate the contents of my yearly changelog archive pages, while it is not an issue when I build my website locally or deploy my website via GitHub action, so I had to switch back to using GitHub actions in my websiteās mirror repository on GitHub to deploy my site automatically.
I had also written a Python script to automate the steps to create a new blog post file for my website, by creating a new Markdown file in the blog post directory and then open the new file with Neovim, so I can just enter the post content right away.
@Leilukin, did you know that neovim has template.nvim for inserting templates into files from within the editor?
Emacs has something similar: TempEl, which builds upon the older and undocumented tempo.el library native to Emacs.
The nice thing about Pagefind is that you can install it via Rustās cargo
tool instead of dealing with the whole Node/Deno and npm ecosystem if you arenāt using Eleventy.
I wasnāt aware of the template.nvim plugin before, so thanks for sharing.
However, while there is front matter in my blog postsā Markdown files, and I wrote the Python script to add the front matter as well, what I wanted to automate was more about saving the time of navigating my websiteās file directories myself before writing the content of a new blog post. So I think my Python script would suit my needs more.
Just using CSS Flexbox to align media with text in sections in a new post about some of C. J. Cherryhās novels.
Actually, it isnāt a new post. Iām just abstracting it out from an old page with multiple sections and expanding it a bit.
.flex-media-section {
display: flex;
flex-direction: row;
gap: 0 2rem;
align-items: flex-end;
align-content: flex-end;
}
.flex-media-section > div {
max-width: 66%;
}
.flex-media-section > div, .flex-media-section > figure {
margin: 0;
}
Morgaine <3 <3 <3 And yeah, that cover is lolarious.
He gets better with the subsequent books, though itās not until the cover of Exileās Gate that Whelan finally depicts Morgaine in a manner Iād consider faithful to the text (in which she was sensibly dressed and well-armored).
I recently figured out that favicons can be different for each page of a website. I put a little TARDIS favicon on the Companions clique page.
I should put a crayon favicon on the crayon clique page too.
Does this only work with a SSG?
Not that I needed a search on my site, but Iām curious.
I donāt use a SSG, but Pagefindās Rust-based tool works for me.
I have renamed my websiteās content categories to content topics:
I got round to polishing off my first go at putting together some RSS āStarter Packsā in my quest to move people (back) onto RSS.
I havenāt kept them purely indie-web focused because I am trying to make it ānormie approachableā and normies like mainstream news.
At some point I want to generate OPML files for each of the starter packs to import them all in one go, but I figured it is finally at a good enough state to share.
(and feel free to give suggestions for what packs I should have / what should go in other packs)
Nice work, I think I will need to add some tags or categories to my posts soon enough, I canāt keep to a single topic for long enough and my feed looks like chaos viewed chronologically hahaha
This would be a good, solid blogroll even if I wasnāt in it. But Iām flattered to have been included.
I would suggest, however, that you link to https://starbreaker.org/feed.xml instead for my siteās RSS feed. While it currently redirects to https://starbreaker.org/follow/everything.xml, the latter might get moved/renamed the next time I mess with my siteās structure. But /feed.xml will always point to my siteās full-text feed.
Incidentally, if you kept your blogroll in a global data file, you could probably Liquid templates to build your blogroll and OPML file from the same source. Iām working on something similar with a TSV file as my source and awk
to convert the data. Something to think about the next time you yearn for a yak to shave.
can you add my website maybe
ooh! this is such a fun idea! i should go through my rss subscriptions and see if i have any fun themes to make starter packs out of
Love this. What a clever ideaš
I think I finished most of my about page (Just need to add some misc stuff.), started to clean up my siteās folder structure, renamed & removed some files, currently Iām working on polishing my index page to look better in light mode.