It seems that for the logo these templates would not work.
An alternative to modifying the vm file is to inject a JS code that adds the image next to the logo. You can inject it as described here:
A sample js code:
AJS.$('h1#logo').prepend(AJS.$('<a href="http://mysite.com"><img src="https://developer.atlassian.com/s/en_GB-1988229788/4532/e44e912a19b4356578af38c61df778d5fda2d014.50/_/images/logo/confluence-logo.png" alt="My Other Cool Image"></a>'))
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG