fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

@zachleat @eleventy @lene Ah, really lovely - the one thing this article mentions is localised collections.

I've got a build that requires regional-specific variations of the site powered by Sanity (with github.com/sanity-io/document-). Battling with myself on how best to power set this up within 11ty. Ideally I would set the regions in 11ty, loop through them first, then loop through the collections to generate pages but I don't think that's possible?

GitHubGitHub - sanity-io/document-internationalization: sanity.io plugin for authoring multiple language versions of a complete documentsanity.io plugin for authoring multiple language versions of a complete document - GitHub - sanity-io/document-internationalization: sanity.io plugin for authoring multiple language versions of a c...

@lene @zachleat @eleventy it's super close! I think where the data is coming from Sanity it complicates things, as it has to run through _data, and then needs to be paginated to create the multiple URLs. I think I need a dynamic collection that will allow me to filter the data on the fly.

Eleventy 🎈 v3.0.0

@ryangittings @lene @zachleat I would love to hear what we can do better in core to support this use case!

@eleventy @lene @zachleat how's best to progress this, an issue on GitHub? I'll try and produce a step-by-step breakdown of the layers involved, and see what we can come up with?