The donate banner on cos.io uses the current page's title to know when to show the donate banner. Mainly it will check to see that it doesn't show the donate banner on the donate page.
Because of the recent changes to the donate page's title, the donate banner is showing on the donate page.
Changes
The only change was to edit the page title that the donate banner is checking. So instead of checking for 'Donate', it's going to be checking for 'Donate to COS'.
Screenshots
On normal pages, the banner will still show up.
But on the donate page, the donate banner isn't going to show.
I looked a little deeper and changed the page to look at the slug instead of the url/title. This should be a lot more reliable for any changes done to the donate page on production in the future.
Ticket
https://openscience.atlassian.net/browse/EOSF-776
Purpose
The donate banner on cos.io uses the current page's title to know when to show the donate banner. Mainly it will check to see that it doesn't show the donate banner on the donate page.
Because of the recent changes to the donate page's title, the donate banner is showing on the donate page.
Changes
The only change was to edit the page title that the donate banner is checking. So instead of checking for 'Donate', it's going to be checking for 'Donate to COS'.
Screenshots
On normal pages, the banner will still show up.
But on the donate page, the donate banner isn't going to show.