gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.27k stars 10.32k forks source link

Umbrella Issue: Gatsby Blog Theme 1.6 #23640

Closed laurieontech closed 4 years ago

laurieontech commented 4 years ago

This issue tracks the work being done for the 1.6 release. This is separate from the 2.0 release.

ehowey commented 4 years ago

Hey Laurie,

Looking forward to follow this one! Cool to see where themes are headed.

Two thoughts from playing around with the gatsby-theme-blog-core and extending it in some of my own work. I basically just took the core theme and tweaked a bit.

You can see what I did here: https://github.com/ehowey/gatsby-theme-catalyst/blob/master/themes/gatsby-theme-catalyst-blog/gatsby-node.js

laurieontech commented 4 years ago

Thanks for the feedback @ehowey! That's an interesting thought on social vs. featured image. Perhaps it can default to the featured one if you don't explicitly set a social image? Does that seem reasonable?

In terms of customizing excerpt length that's certainly something I hadn't considered. I love it!

ehowey commented 4 years ago

Looks awesome Laurie, glad those were helpful suggestions.

The only other fields I have seen some use with are a subTitle field and a postType field, but that is maybe adding unnecessary layers into the theme depending on what the final vision is. Both of them are optional fields, postType just defaults to "article", but theoretically it would give you a way to display different postTypes with different formats, e.g. you could have a "featured" post type that looked different or a "photo" post type that looked different. But that would require people to know more about customizing themes than is your intended audience maybe?

laurieontech commented 4 years ago

Those are both interesting. I think in terms of 1.6 changes this is likely where we'll stop. However, as we develop 2.0 we can certainly consider whether those are worth including.

ehowey commented 4 years ago

Sounds good - let me know if there is a smaller part I can help with!

laurieontech commented 4 years ago

This is live in gatsby-theme-blog 1.6 and gatsby-theme-blog-core 1.5