Repository navigation
Replies: 2 comments 2 replies
|
Go for it, all for helping making getting started with Indiekit easier. Just a warning that, like |
|
Thanks — and the drift point is the one I most want to get right, because it's what made me build these rather than write another tutorial. The plan is that each starter carries its own test. A workflow that installs current Putting it in each starter rather than a central harness means the failure lands in the repo that needs fixing, and anyone who clicks "Use this template" inherits the test along with the site. Two details that make it worth having: Asserting content, not status. A Polling, not a single GET. The rebuild is asynchronous, so a single request races the watcher. This is what caught the original bug: Indiekit reported And to be clear about the part automation doesn't cover: when the test goes red, I'll fix it. Detection is the hard part to retrofit; keeping them working once something tells us they've broken is straightforward, and I'm using these myself.
I'll start with Eleventy and get one working end to end before doing the other two, so there's something concrete to look at rather than three half-built repos. |
Uh oh!
There was an error while loading. Please reload this page.
@paulrobertlloyd — I'd like to build three template repos and would rather ask before creating anything in the org.
indiekit-eleventy-starter·indiekit-hugo-starter·indiekit-jekyll-starterEach pairs a minimal generator scaffold with the
indiekit.config.jsproven to match it. Click Use this template, add aSECRET, publish a post, and it resolves at the URL Indiekit reported.Why
#902 exists because those two halves have never shipped together and been verified as a unit. Indiekit reports a URL, the generator serves a different one, and nothing catches it. A starter that's tested end to end can't drift that way without the test going red.
It also answers step 4 of
get-startedconcretely. Right now that step is "have a website built with a static site generator" — true, but a new user still has to work out for themselves which directory the store writes to, that Hugo needs asingle.html, or that a Jekyll collection needsoutput: trueand a trailing-slash permalink. Each of those cost me a debugging session.The layouts carry microformats2 and the three IndieAuth
<link rel>tags, so the site can receive webmentions and sign in from the start.Why three repos rather than one
Template repos are the mechanism — "Use this template" gives someone their own repo with no fork relationship. That only works one scaffold per repo.
What they deliberately aren't
Not a replacement for
example-config, which is the minimal config. These are the config plus a working site.No feeds, pagination, tags, 404 pages or theming. 60–80 lines of scaffold each. A blueprint and a floor, not a theme.
The #902 connection
They work against Indiekit as it ships today:
publication.postTypessetspathandurlto the same dateless shape, so there's nothing to reconcile. Hugo is the control case — it's unaffected by #902, and the fact that its config needs no such override is the clearest demonstration that the other two presets have a problem.If #902 gets fixed, the overrides become redundant rather than wrong.
The ask
Happy either way:
getindiekit/indiekit-*-starter, discoverable, linkable from the docsI have the plans written and would start with Eleventy. Would also welcome a no, or "one first, see how it lands".
All reactions