Category: Code Notes

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

🔒 Code notes: Storing, using, and keeping environment variables secret in local environments

A quick note on how to create, and use environment variables locally. They can be used to keep API keys, secrets, passwords and other sensitive material that you'd rather not expose to the public on GitHub, GitLab or Bitbucket

Read more >

🍱 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 >