Question regarding the reuse of a template tag with same ID within a template
I've seen that you can reuse the entire
perch:content tag in order to display the data multiple times in a template (i.e. email address in an anchor). I'm not too keen on the full repetition of the tag and all it's attributes (as there is potential for ambiguity if attributes differ on each tag).
Is it valid to only specify the
id of each subsequent tag? It seems to work, but I just want to confirm this is okay to do.
<a href="<perch:blog id="postExternalURL" type="text" label="External URL" required="false" order="3" />"> <perch:blog id="postExternalURL" /> <!-- Only specify ID here --> </a>
Also, behind the scenes, does the editor only parse the information from the first tag it comes across with a given ID, and effectively ignore the latter ones?