I'd like to have a blog that covers two topics, mathematics and interactive fiction. However, because the mathematics is more serious, for my job, I'd like to hide the interactive fiction when the user is on the home page AND when the user is reading a math post, but have it visible when the user is reading another interactive fiction post.
Is this possible? Essentially I want to do what MathOverflow does with stackexchange, where MO posts appear in stackexchange sidebars but other sites don't appear in MO's sidebar.