chore: updated comments 9241069b
Steve · 2026-01-31 07:59 1 file(s) · +2 −3
packages/cli/src/commands/inject.ts +2 −3
7 7
8 8
export const injectCommand = command({
9 9
	name: "inject",
10 -
	description:
11 -
		"Inject site.standard.document link tags into built HTML files",
10 +
	description: "Inject site.standard.document link tags into built HTML files",
12 11
	args: {
13 12
		outputDir: option({
14 13
			long: "output",
53 52
				slugToAtUri.set(postState.slug, postState.atUri);
54 53
55 54
				// Also add the last segment for simpler matching
56 -
				// e.g., "40th-puzzle-box/what-a-gift" -> also map "what-a-gift"
55 +
				// e.g., "other/my-other-post" -> also map "my-other-post"
57 56
				const lastSegment = postState.slug.split("/").pop();
58 57
				if (lastSegment && lastSegment !== postState.slug) {
59 58
					slugToAtUri.set(lastSegment, postState.atUri);