@brikohler I just checked and the url must contain
theme setting appears to be working as expected. If you remove the default /t/
entry, the banner will does not display on topics.
There were couple minor updates to the component that addressed a scrolling issue and code formatting, but the functionality hasn’t changed at all at this point.
Try creating a new theme component and adding the following code. You will of course need to replace each href
with the one you want to use.
<script type="text/discourse-plugin" version="0.8.42">
api.reopenWidget("banner-content-widget", {
html(attrs) {
let columns = this._super();
columns.children.forEach(e => e.tagName = "A");
columns.children[0].properties.href = "https://discourse.org";
columns.children[1].properties.href = "https://meta.discourse.org";
columns.children[2].properties.href = "https://try.discourse.org";
return columns;
}
});
</script>