Changing links when using Blog Templates

I have a template site with links that refer to pages/posts on the template site. For example:

When a new blog is created via New Blog Templates called let's say "NEWSITE" is there a way to automatically change the link to reflect the new site name:

Thank you