mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

833
active users

#ssg

4 posts4 participants0 posts today

I'm also experimenting with using Pagefind to provide search for my static site using client-side Javascript. It currently analyzes 10934 files and indexes 8183 pages (87272 words) in 40 seconds. The data is 125MB, but a search for, say, "sketchnote" transfers only 280KB, so that's pretty good. I think I'm adding the date properly and I know I can set that as the default sort, but I haven't yet figured out how to make it possible for people to sort by either relevance or date as they want. I also want to eventually format the search results to include the date. Maybe Building a Pagefind UI – dee.underscore.world will be useful. #pagefind #ssg #search

Pagefind — Static low-bandwidth search at scalePagefind | Pagefind — Static low-bandwidth search at scalePagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.

Adding to my #SSG ramblings. This is roughly the layout I'm thinking of.
Whether /content/Home will be there, I don't know yet, that is how Grav does it.
Keeping the wwwroot and Views/-structure, as that is configured by-default in ASP.NET.

The Views are all runtime-compiled and then rendered based on files inside the content-folder.

Just before lunch, while I was mowing the lawn (a symbol of the start of spring), I was reflecting on my SSG.
I made two more changes:
First, I added caching. On Hugo, every time I modified content, the entire site was regenerated. No problem, but with my distributed CDN system, this meant that all the content was essentially outdated. Not a big deal on a small blog like mine, but it could be quite different on larger sites. The caching I've added now tracks the dependencies of added and/or modified articles and only regenerates what was added/modified and its dependencies. I’ve been generous with the dependencies, as it’s better to regenerate more than less. I’ve noticed that from generating 600 pages, now a single modification regenerates about 30, leaving the rest unchanged.
This is good for caching and performance optimization.
As a result, in the footer banner, I've added the generation date and time (missing the timezone, I’ll add that), so I can see and debug what gets regenerated and what doesn’t.

Je fais un #website pour un collectif d'ami·es non tech. Selon vous quelle est la meilleure manière pour qu'iels s'en sortent sans moi pour mettre à jour & modifier le site?
Un #CMS à part entière comme #Grav ?
Un #SSG comme #Eleventy , sur #gitlab ou sur un de leurs ordis?
Avec un #headlesscms ? Ou du sur-mesure?

Vous avez suggestion, bonne pratique, outil?
Sachant qu'il n'y a pas d'envie manifestée d'apprendre le web et l'utilisation du terminal etc.

One of the reasons I didn’t use Hugo for the new company website is that, once again, the latest update broke my blog. Version 0.143 removed some things (already deprecated), causing issues with the theme I use. It wasn’t anything a jail dataset rollback couldn’t fix, but is this really what I want?
I’m seriously considering switching to something else. manpageblog is also a contender; I just need to figure out if it has all the features I need.