👩💻 Join our community of thousands of amazing developers!
Sometimes, there comes a scenario where you would need to extract some part of the html so that you can use it across different areas of your site without repeating the same markup all over places. For instance, the “Recently Published” section of the sidebar on this site contains 5 recently added articles. Now, I want to make this section re-usable. Jekyll makes it easy to accomplish this. So, to make the logic re-usable, I created a file called recent_articles.html under the _includes folder l...