-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blog redesign #4891
Blog redesign #4891
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Eli, looking good. Some thoughts:
-
On your comment RE: left sidebar, totally agree. The original idea was this would be a curated sidebar more like in docs, i.e. controlled via a sidebar file. This wasn't in the spec, so you weren't to know this!
-
Sidebar continued: rather than the dropdown listing all the posts in a category, it would be preferable to list other blog categories, in effect creating a
category > sub-category
taxonomy without messing with the URL structure. Again, some kind of file to control what appears here would be ace. This would stop it become too long and unusable as well. -
Likewise, currently the blog homepage just shows all blog categories in alphabetical order. We need control over this to eliminate legacy categories, and allow us to curate the order of prominence. We don't want all categories to appear on the homepage.
-
Because the homepage is no longer just all the latest blog posts in order, we need a blog category page that's effectively 'all' or 'latest' (i.e. posthog.com/blog/latest) that shows all blog posts in just date order. This is necessary for SEO reasons, and useful for readers. We could just create another category and apply to all new posts, but it would be preferable if this just auto populated like the old homepage.
-
I feel like we probably shouldn't overlay the category tags on the index page pages. It's ok when there's just one, but some posts have three or more, which starts to look very noisy. Open to dissenting voices on this one, though!
-
I'm 90% sure your pagination approach is all good (and very necessary) from an SEO pov, but will double check as Google can get super fussy about how it's implemented so they index it properly. Pagination vs lazy loading is certainly a lot easier to get right! -
I have now looked into the pagination and (if you want to get nerdy) this article is the best resource on this. The TL;DR is we should probably do some kind of numbered pagination to ensure Google can index deeper pages easily. Can write a more detailed recommendation if you want it.
Yep on the left bar, we should limit to a hand-picked set of top-level categories (no more than 5ish). Then any posts within those categories with other categories can show when that section is expanded. |
Blog category/tag thinking
Slugs
Notes
|
I'd strongly recommend against messing with the URL structure at all, actually. I don't have time to go deep now, but TL;DR:
|
moved from right border on main column to left border on right rail
Snag 1: One of the categories seems to be generating an extra page which is just a CTA: https://posthog-35o55e3gs-post-hog.vercel.app/blog/categories/ceo-diaries/2 Snag 2: Second CTA can be a problem on index pages with fewer items: https://posthog-35o55e3gs-post-hog.vercel.app/blog/categories/hogmail |
@andyvan-ph Good eyes!! Snag 1 & 2 fixed! |
This reverts commit f5c3574.
Changes
Implements Lottie's sweet new blog design!
See #4785 for a full breakdown
Additions
Concerns
Closes #4889