feat(blog): implement date-based sorting and minimal post preview (truncated text, date, read more link) (#7890)#7911
Conversation
…uncated text, date, read more link) (webpack#7890)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Hi @eventualbuddha , I’ve closed my previous PR due to some issues. I’ve now opened a new PR that fully addresses the issue and incorporates your suggestions. Please take a look when you get a chance. |
alexander-akait
left a comment
There was a problem hiding this comment.
Let's remove date from title and make date is more visible in styles and we can merge
Changes applied as suggested: removed the date from the title and improved the date visibility in styles. Ready for review. |
|
@Katari-8055 Looks good, can you look why |
| ? attributes.date.toISOString() | ||
| : String(attributes.date); | ||
| [attributes.date] = dateStr.split("T"); | ||
| } |
There was a problem hiding this comment.
Let's avoid it and use the only one readable format
There was a problem hiding this comment.
Got it, thanks! I’ll avoid the toISOString() conversion and keep a single readable date format (YYYY-MM-DD) for consistency.
|
Hi @alexander-akait, |
…uncated text, date, read more link) (webpack#7890) (webpack#7911)
🚀 Summary
Before
##After
