Thread:Extension talk:RecentPages/Exclude PAGENAME from Random

I'm using   on Main_Page and this wiki doesn't have a lot of articles so more often than not Main_Page is included in the random article list. But it's of course not clickable (because it's listed on its own page) and is therefore printed in bold. Is there a way to exclude e.g. from the random article list? And maybe do the same for   too? Thanks!