🚧 What did you do to your website today?

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.

1 Like

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.

1 Like

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;
}

1 Like

Morgaine <3 <3 <3 And yeah, that cover is lolarious.

1 Like

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.

4 Likes

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:

1 Like

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)

7 Likes

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

2 Likes

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

1 Like

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

3 Likes