Commit fec6179
committed
Fix: Blog carousel and multi-author support
This commit addresses a regression where the 'latest posts' carousel was empty. This was caused by a recent change to support multiple authors, where the `authorId` field was replaced with `authorIds`.
The carousel has been updated to check for both `authorId` and `authorIds` to ensure all posts are displayed correctly.
This also includes the initial multi-author support changes:
- The `layouts/partials/blog-meta.html` template is updated to handle an `authorIds` array in the front matter. It maintains backward compatibility with the old `authorId` field.
- All existing blog posts have been migrated to use the new `authorIds` field.1 parent d4b0da4 commit fec6179
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments