feat: moved content back into this repository, and moved private content out

This commit is contained in:
Lewis Wynne 2026-03-23 23:47:40 +00:00
parent 7fb4035f31
commit 63a079deb1
14 changed files with 62 additions and 132 deletions

View file

@ -31,7 +31,7 @@ try {
<details open>
<summary>{category}</summary>
<pre set:html={[
...categoryPosts.slice(0, 10).map(post => formatListItem(post.dates.created, `/md/${getSlug(post.id)}`, post.data.title, { pinned: post.data.pinned })),
...categoryPosts.slice(0, 10).map(post => formatListItem(post.dates.created, `/${getSlug(post.id)}`, post.data.title, { pinned: post.data.pinned })),
...(categoryPosts.length > 10 ? [`<a href="/md/">+${categoryPosts.length - 10} more</a>`] : [])
].join('\n')} />
</details>