var blogDescription = 'Blog';
var ntags = element.tags
if( ntags.includes( 'Case Study' ) ) {
blogDescription = 'Case Study';
var index = ntags.indexOf('Case Study');
if (index !== -1) {
ntags.splice(index, 1);
}
}
if( ntags.length > 0 )
blogDescription += ' - ' + ntags[0];