Tweaks to the world's most popular modern open source publishing platform.

Little known fact #1
Path of /ghost is hard coded, so had to come up with something else.

How to open external URLs in new window

Admin > Code Injection > Site Footer

<script>
    $('a').each(function() {
        var a = new RegExp('/' + window.location.host + '/');
        if (!a.test(this.href)) {
            $(this).click(function(e) {
                e.preventDefault();
                e.stopPropagation();
                window.open(this.href, '_blank');
            });
        }
    });
</script>
Open external URLs in new window