vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.08k stars 2.11k forks source link

blog layout #1838

Open YQisme opened 1 year ago

YQisme commented 1 year ago

Is your feature request related to a problem? Please describe.

I want to write a blog based on markdown.Is there any plan to increase the blog layout.

Describe the solution you'd like

Increasing the blog layout, such as tags and archives . It would be better if like this https://docusaurus.io/tests/blog/tags

Describe alternatives you've considered

No response

Additional context

No response

Validations

jeffholst commented 1 year ago

@YQisme - I had the same question. Some searching led me to the The Vue Point which uses a custom VitePress theme for simple blogging. Hope this helps.

kiaking commented 1 year ago

I think it might make sense to have this feature. It's frequently asked.

VitePress defaults theme is focused on documentation website. However, for reasonable sized project it does make sense to have posts page where they can show "News", "Announcement", "Best Practices", etc.

However, if we go far to reach out for things like tags or archive, it would add huge complexity to build pipeline, search features, and so on. In that case, I think this feature should be built in via 3rd party Theme, best if it extends the default theme and act more like addon.

Interesting topic, but however, I don't think we would tackle this anytime soon. It wouldn't be on the list toward the stable release.

YQisme commented 1 year ago

I think it might make sense to have this feature. It's frequently asked.

VitePress defaults theme is focused on documentation website. However, for reasonable sized project it does make sense to have posts page where they can show "News", "Announcement", "Best Practices", etc.

However, if we go far to reach out for things like tags or archive, it would add huge complexity to build pipeline, search features, and so on. In that case, I think this feature should be built in via 3rd party Theme, best if it extends the default theme and act more like addon.

Interesting topic, but however, I don't think we would tackle this anytime soon. It wouldn't be on the list toward the stable release.

Thank you for your genuine and sincere response!

YQisme commented 1 year ago

@kiaking @jeffholst I found several vitepress themes about blogs,I hope these will help your work

pberto commented 1 year ago

It makes sense to have a default blog layout as part of vitepress indeed. It is just too typical to have blog section in a technical documentation.

jd-solanki commented 1 year ago

How about the official blog: https://blog.vuejs.org/? And with tags & pagination 🌟

DevDengChao commented 1 year ago

How about the official blog: https://blog.vuejs.org/? And with tags & pagination 🌟

I come from @vuepress/theme-blog and I think it is good enough for a basic blog theme.

Ben-Mack commented 1 month ago

This is a major feature that missing to me, hope this get more development into the default theme similar to docusaurus