I have a CMS Collection… some pages include a video, some don’t. I want to dynamically add Schema to the pages with video only. Is there an “out of the box” solution to do this?
From testing, I either A) add code to all related records, and dynamically change portions (which will produce an error for the pages without video), or B) don’t add this code to any pages.
Similarly, I want to add hreflangs to some pages and not others within the same CMS Collection. As you can see, there are a number of reasons I need a hack.
<video> tag as a child, and add your code to those.
The Read-Only link isn’t working so I couldn’t check your website, but the above works for all cases.