Hide Related Articles when there are none

This script hides your Related Articles panel when no Related Articles are present. 

To use these, copy the relevant code at the very bottom of the Article template (if you're not sure how to do this, see here).

Use this if your Related Articles appear in the right hand column:

<script>
$(function() {
if( $('.related-panel ul li:eq(0)').text().trim() == "None" )  
$('.related-panel').hide();
});
</script>

Use this if your Related Articles appear below the article:

<script>
$(function() {
if( $('.ko-related-articles ul li:eq(0)').text().trim() == "None" )  
$('.ko-related-articles').hide();
});
</script>