chore: docs updates
abf3bbd9
1 file(s) · +13 −0
| 17 | 17 | | `frontmatter.slugField` | `string` | No | - | Frontmatter field to use for slug (defaults to filepath) | |
|
| 18 | 18 | | `ignore` | `string[]` | No | - | Glob patterns for files to ignore | |
|
| 19 | 19 | | `removeIndexFromSlug` | `boolean` | No | `false` | Remove `/index` or `/_index` suffix from slugs | |
|
| 20 | + | | `stripDatePrefix` | `boolean` | No | `false` | Remove `YYYY-MM-DD-` date prefixes from slugs (Jekyll-style) | |
|
| 20 | 21 | | `bluesky` | `object` | No | - | Bluesky posting configuration | |
|
| 21 | 22 | | `bluesky.enabled` | `boolean` | No | `false` | Post to Bluesky when publishing documents | |
|
| 22 | 23 | | `bluesky.maxAgeDays` | `number` | No | `30` | Only post documents published within this many days | |
|
| 95 | 96 | ``` |
|
| 96 | 97 | ||
| 97 | 98 | If the frontmatter field is not found, it falls back to the filepath. |
|
| 99 | + | ||
| 100 | + | ### Jekyll-Style Date Prefixes |
|
| 101 | + | ||
| 102 | + | Jekyll uses date prefixes in filenames (e.g., `2024-01-15-my-post.md`) for ordering posts. To strip these from generated slugs: |
|
| 103 | + | ||
| 104 | + | ```json |
|
| 105 | + | { |
|
| 106 | + | "stripDatePrefix": true |
|
| 107 | + | } |
|
| 108 | + | ``` |
|
| 109 | + | ||
| 110 | + | This transforms `2024-01-15-my-post.md` into the slug `my-post`. |
|
| 98 | 111 | ||
| 99 | 112 | ### Ignoring Files |
|
| 100 | 113 | ||