$(document).ready(function() {
  $("a[rel='external']").attr({target: "_blank"});
});

