A few thoughts on Rocket blog
I'm setting up a site with a Rocket blog, and there are a few pain points I thought I'd mention.
- The default setting for the blog post overview presents the blog posts as a grid. But a blog is surely a place where simple chronological list is appropriate: blog posts are a record in time.
- I'm wanting to present some more information on the overview. Dates, easy, throw
<div>{{ page.date.toDateString() }}</div>into 30-articles.njk, good to go. But tags don't work there. It'd be nice, tags can give a glance at expected topics in an article. - Speaking of which, what are tags for anyway? Make them clickable!
- It'd also be nice to indicate the author's name in the blog overview.
- Now, in the main blog post, the sidebar has a "headings" slot. Great for when you have headings! But when you don't it still appears; it should only be there if there are headings.
- Finally the URL in the blog README is out of date.
Anyway thanks as always for the great work, I'm really enjoying tweaking the basic blog. Hoping these few little ideas make it a bit better.
hey,
you are totally right... blog only got the bare minimum of attention to get the basics to work...
I agree with all your points except the blog overview grid... as that is rather common nowadays see (https://web.dev/blog/, https://blog.ted.com/, ...) but yeah there could be multiple overview templates for sure 🤔
re: overview layout, I also wanted a chronologic list and wanted some more semantic markup as well, so
https://apolloelements.dev/blog/
https://github.com/apollo-elements/apollo-elements/tree/main/docs/_includes/_joiningBlocks/_layoutBlogOverview/content
For tags, do you have them on page.data? Same for post author.
In order to link to tags, we'd need a new template on the tags collection, I think?