HiDeoo / starlight-blog

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

feat: add author `title` field #2

Closed lorenzolewis closed 1 year ago

lorenzolewis commented 1 year 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 1 year 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 1 year 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 1 year ago

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

Thank you!