Here is the code I used:
<script type="text/discourse-plugin" version="0.4">
api.decorateWidget('home-logo:after', helper => {
const showExtraInfo = helper.attrs.minimized;
if(!showExtraInfo) {
return helper.h('a.blog-link', {href:'https://blog.example.com', target:'_blank'}, 'Visit our blog');
}
});
</script>
I placed that in the Customize -> CSS/HTML -> </head>
section. Running 1.8.0 beta4 (upgrading to beta5 to see if it helps).