urbanists.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a server for people who like bikes, transit, and walkable cities. Let's get to know each other!

Server stats:

577
active users

#ssg

7 posts7 participants0 posts today

#NotNews24 | #UnbreaklingMovieNightNotNews; #IT's #DefinitelyNotNews; because, #IT's #MovieNight...

Our #WestWingMarathon... #Continues...

#TheThing with #Qumar is #BlowingUp... And, #DannyIsBack with a #Story about #Bermuda, and #Cricket...

#TotallySupported by #DolbyProLogicIIx because #EverythingIsBetter with an "X" on #IT... Except #SpaceKarenX...

#Meanwhile... We've eaten some of the #Pizza and there will be a #PizzaForBrunchDay #Tomorrow...

#Something for the #RacistHomophobes at #SSG and #TheLittleLotROPixies to have a #LittleThink about... On "they/them's" #DeadGame on #NonEuropeanServer(s)...

Are we all #UpToDate, yet...?

We had to eat some #ChristmasChocolates; even though #IT's #NotChristmas and #ChristmasIsBullcrap...

🧙⚔️🤖:wolfparty:🤖⚔️🧙 | 🍫🦹⚕️🐻⚕️🦹🍫

This is a great write up and elegant solution for a static Pages repo by @mttaggart

We know we need two repositories. Instead of relying of YAML-driven DevOps stuff, why not use something a bit more elemental: Git submodules.
If we make our site repo a submodule of the source module, we can make our lives much, much easier.

https://infosec.exchange/@mttaggart/114257261507197110

Infosec ExchangeTaggart :donor: (@mttaggart@infosec.exchange)I migrated my coding life, including my static websites, off GitHub. It's easier than you might think! Here's how I did it. https://taggart-tech.com/migrate-to-codeberg/

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.