Some digging shows that the script which builds the header, including the logo, is found at \themes\<theme name>\widgets\HeaderController\Widget.js.
These edits seem to do the trick
- edit the application's main config.js file to include a new property logoLink:
"logoLink": "http://www.google.com.au",
- add this to the \themes\<theme name>\widgets\HeaderController\Widget.js script around line 92:
html.setAttr(
this.logoLink,
'href',
this.appConfig.logoLink ? this.appConfig.logoLink : "#"
);
- add the template <a> code into \themes\<theme name>\widgets\HeaderController\Widget.html around the logo image:
<a data-dojo-attach-point="logoLink">
<img class="logo jimu-float-leading jimu-leading-margin1" data-dojo-attach-point="logoNode">
</a>
It would be nice if someone could explain how to build the logoLink property from the main UI, rather than needing to hack into the config.js file manually.