I have several links inside content editor webparts and on webpages that reference the site they are in. For example:
<a href="/sites/ABC/page.aspx">Link</a>
Site ABC is being saved as a site template, and will be deployed several times.
How can I create a dynamic link that will update when the site template is deployed?
For example:
<a href="{dynamic site URL}/page.aspx">Link</a>
So if site DEF were deployed, it's URL would result, instead of a link back to ABC (the template).
Thanks in advance.