Category: Code Notes

Short coding notes that I'm keeping for future reference. Hopefully you find them handy too!

🍱 Code notes: Passing multiple arguments to an Eleventy custom filter

While working on a recent project, I came across a small problem. I needed to convert an event time from UTC to a particular time zone. I was building my website project using the Eleventy static site generator, so I felt that a custom filter would be the best solution to this problem.

Read more >

📝 Code Notes: Presenting Portable Text

In this code note I cover a couple of ways to build upon Portable Text for presentation.

Read more >