I managed to figure out how to target it, so I have a workaround to this. I was going to write a post about it, but havenāt gotten to it yet. But yes, I would still like the option to just not have it show up on pinned pages.
Anyway, here is my workaround.
First of all, this is my post signature:
<div id="post-signature">
<div class="alert-info">
Find me on Mastodon (@dino@writing.exchange) or Micro.blog (<a href="https://micro.blog/Dino" target="_blank">@Dino</a>)
</div>
</div>
Note the post-signature id on the div.
This is the custom JavaScript I wrote to hide it.
/* Remove Post Signatures on Pinned Pages */
var y = document.getElementById("post-signature");
if (y && isArchivePage || isSearchPage || isCommentsPage || isSeriesAndTagsPage || isAboutPage) {
y.setAttribute("id", "post-signature-hidden");
}
/* Remove Post Signatures on Home Page posts */
if (!document.getElementById("post-body")) {
var sigs = document.querySelectorAll("#post-signature");
var i;
for (i = 0; i < sigs.length; i++) {
sigs[i].setAttribute("id", "post-signature-homepage-hidden");
}
}
And finally, these are the custom CSS settings to hide it on the homepage and pinned pages:
#post-signature-hidden {
max-height: 0;
margin-top: -3em;
visibility: hidden;
}
#post-signature-homepage-hidden {
max-height: 0;
margin-top: -2em;
visibility: hidden;
}
Taken all together, the custom JavaScript finds the post-signature div, then changes its class attribute to one where I can hide it via CSS.