This is where we will include our first custom Handlebars helper (and any other helpers, if you will need them later on). {{ !-- This is the post loop - each post will be output using this markup -- }} {{ # foreach posts }} {{ # ifCond tags . Because Handlebars supports array references (notice tags.0.slug ), we can simply perform one check instead of creating a custom property in the post rendering code.