2024

  1. Skip template evaluation in code blocks

    In my last post, I needed to show some njk syntax as a code example, but 11ty kept trying to evaluate the njk instead of displaying it. In this post, I'll show how I got around this with shortcodes

  2. 11ty - Previous and Next links

    Linking to pervious and next post in a collection is a somewhat common feature that I didn't need until recently. It took me a little bit to work out how to do it since the docs were a little ambiguous, so let's build it together using 11ty collections.