This is a cross-post from my personal blog, where you'll find many other posts on React and Gatsby!
So here's the thing. I really don't want to ...
For further actions, you may consider blocking this person and/or reporting abuse
Hello!
Thank you for amazing post! Josh, pls, let me ask one question. In MDX-posts FrontMatter you set publish date. I mean string like this:
publishedOn: 2020-03-09T09:30:00-0400Please, tell me. How you write published date for MDX-posts? Is there any automatically solution? Or you write publish date for each posts manually? It's don't convenient.
Hi Zhandos!
I write them myself. When I'm ready to publish a post, I set that timestamp to the current time and deploy (I also have an
isPublishedboolean that controls whether it's seen in the list).It's manual, but I'm also not sure how it could be more convenient =) no matter what I need to set the date somewhere, and I may as well keep it in the same place as the article. I don't have to do any other "work" to publish.
Some solid advice here! The next step would be to create one sitemap per page type.
Create one sitemap for articles, one for blog posts, one for categories, one for tags, etc.
That way you can do a lot of filtering in tools like Google Search Console, which can be very beneficial sometimes.
Great post Josh. It's a pity the SEO for Dev.to is so bad and interesting articles such as yours are hard to find.
The right Sitemap helps a lot in indexing the website faster