Posts Tagged “11ty”
I’ve noticed the server I’m hosting this on has locked up a few times recently, which led me down the rabbit hole of looking for alternative headless CMS’s, but I’m quite enjoying learning 11ty, so just moved everything to another server.
Got the front page to only show the most recent content by adding the following to my .eleventy.js file
So you can sort multiple posts made on the same day by including the time of the post. Now in the YAML section at the top of this MarkDown file I have date: 2024-01-12 11:56:00 and then it sorts. Bonus. Now have the page going to a subroutine, so can...