How to make a TIL section

Published: 11ty

Getting up and running with 11ty and extending the default starter to include a TIL section.

Inspired by the truly excellent and consistent TILs published by Simon Willison over at til.simonwillison.net, I wanted to add a TIL section to my own site.

I'm using the 11ty static site generator, and I wanted to keep the TILs in the same repo as the rest of the site. I also wanted to keep the TILs in markdown files, and I wanted to be able to add tags to them.

I decided to avoid re-using the components and collections used for blogging to keep a clear separation between the two. This was trivially easy as it just involved duplicating the blog functional components and renaming them appropriately.

New files required: