Yoast SEO in Hugo

Does hugo use the correct html automatically or do you have an if statement to include it?

I have everything in a single file with a bunch of conditions: