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"}}
Like this content? Follow me (@masonegger) on Twitter or join me on Twitch for live coding and discussions on my channel CodingWithMason.