We have amp pages in our website. I want to remove all the podcast pages from having an amp version. I am getting error if I don’t return anything. Right now I am returning null if I get the tag as podcast, though the page is empty the URL is being created. I want to get rid of the urls from getting created. Below is the sample code that I am using right now.
{{#post}}
{{^has tag="#podcasts"}}
{{!-- Here is the code for our amp pages–}}
{{/has}}
{{#has tag="#podcasts"}}
{{/has}}
{{/post}}