Equivalency Statement In Hugo

Today I wanted to check if a page on this site was a TIL page and modify the list to not include a link if it was. To do this I used conditional statements in Hugo to check for equivalency.

{{ if eq .Type "TIL"}}