Creating a generic posts function - part 14
For this article, I want to add the latest two blog posts to our homepage. However, it quickly made me realize we are reusing the same code repeatedly.
So let's start this article by re-doing some of the code so we can reuse it in existing components...
h.daily-dev-tips.com4 min read