Skip to content

Commit 03e4ce5

Browse files
fix: add underscore prefix to collection directories for Jekyll
Jekyll requires collection directories under collections_dir to be prefixed with underscore (e.g., content/_locksounds/ not content/locksounds/). Without the prefix, Jekyll treats the markdown files as regular pages instead of collection documents, causing site[page.collection_name] to return empty and category pages to show no items. - Renamed all 5 collection dirs: _locksounds, _lightshows, _boombox, _wraps, _hornsounds - Updated scripts/build.ts to reference underscore-prefixed dirs - Updated PR templates with correct directory paths Co-Authored-By: Paperclip <noreply@paperclip.ing>
1 parent 12576cf commit 03e4ce5

27 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/PULL_REQUEST_TEMPLATE/boombox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [ ] `tags` — array of tags from `content/tags.yaml` (optional)
1616

1717
#### Naming & structure
18-
- [ ] Folder placed in `content/boombox/<slug>/`
18+
- [ ] Folder placed in `content/_boombox/<slug>/`
1919
- [ ] Slug is lowercase alphanumeric with hyphens (e.g. `chill-vibes`)
2020
- [ ] No file exceeds 50 MB
2121

.github/PULL_REQUEST_TEMPLATE/hornsound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [ ] `tags` — array of tags from `content/tags.yaml` (optional)
1616

1717
#### Naming & structure
18-
- [ ] Folder placed in `content/hornsounds/<slug>/`
18+
- [ ] Folder placed in `content/_hornsounds/<slug>/`
1919
- [ ] Slug is lowercase alphanumeric with hyphens (e.g. `la-cucaracha`)
2020
- [ ] No file exceeds 50 MB
2121

.github/PULL_REQUEST_TEMPLATE/lightshow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- [ ] `tags` — array of tags from `content/tags.yaml` (optional)
1717

1818
#### Naming & structure
19-
- [ ] Folder placed in `content/lightshows/<slug>/`
19+
- [ ] Folder placed in `content/_lightshows/<slug>/`
2020
- [ ] Slug is lowercase alphanumeric with hyphens (e.g. `holiday-special`)
2121
- [ ] No file exceeds 50 MB
2222

.github/PULL_REQUEST_TEMPLATE/locksound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [ ] `tags` — array of tags from `content/tags.yaml` (optional)
1616

1717
#### Naming & structure
18-
- [ ] Folder placed in `content/locksounds/<slug>/`
18+
- [ ] Folder placed in `content/_locksounds/<slug>/`
1919
- [ ] Slug is lowercase alphanumeric with hyphens (e.g. `r2d2-beep`)
2020
- [ ] No file exceeds 50 MB
2121

.github/PULL_REQUEST_TEMPLATE/wrap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [ ] `tags` — array of tags from `content/tags.yaml` (optional)
1616

1717
#### Naming & structure
18-
- [ ] Folder placed in `content/wraps/<slug>/`
18+
- [ ] Folder placed in `content/_wraps/<slug>/`
1919
- [ ] Slug is lowercase alphanumeric with hyphens (e.g. `matte-black`)
2020
- [ ] No file exceeds 50 MB
2121

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)