' + '
'+ '
{{shortType}}
' + '
{{year}}
' + '
'+ '
' + '' + '
' + '{{/items}}' /* beautify preserve:end */ ), beforeRender: function(e, data) { console.log("data", data) $.each(data.items, function(idx, item) { $.each(item.docs, function(idx, doc) { // Make sure any local links open in the same window var url = doc.docUrl.toLowerCase().split('.'); if ( url[url.length-1] != 'aspx' ) { doc.blank = true; } }); }); } });