HiDeoo / starlight-blog

Starlight plugin to add a blog to your documentation
https://starlight-blog-docs.vercel.app
MIT License
107 stars 11 forks source link

feat: add author `title` field #2

Closed lorenzolewis closed 10 months ago

lorenzolewis commented 10 months ago

Describe the pull request

Adds an optional author title field.

Screenshot 2023-08-27 at 15 14 25 Screenshot 2023-08-27 at 15 17 40

Why

Additional feature parity with Docusaurus blogs: https://docusaurus.io/docs/blog#blog-post-authors

How

Added optional title field to the author schema and then add to the Author.astro component.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starlight-blog-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 7:44am
HiDeoo commented 10 months ago

Thanks a lot, looks perfect to me, I just renamed the "Legend" which sounded to me a bit presumptuous ^^

The new feature has been released to npm in v0.2.0.

lorenzolewis commented 10 months ago

Hehe, I knew you'd have an update for that one 😉

Thank you!