Skip to content
Snippets Groups Projects
Commit dc5307e8 authored by David Paul's avatar David Paul
Browse files

Make external links open in a new window

parent c946e9b7
No related branches found
No related tags found
No related merge requests found
...@@ -107,5 +107,11 @@ function debug($message, $variable, $pail_debug) { ...@@ -107,5 +107,11 @@ function debug($message, $variable, $pail_debug) {
debug("Finished", null, $pail_debug); debug("Finished", null, $pail_debug);
?> ?>
<footer><small>Generated by <a href="https://gitlab.une.edu.au/dpaul4/pail">PAIL</a></small></footer> <footer><small>Generated by <a href="https://gitlab.une.edu.au/dpaul4/pail">PAIL</a></small></footer>
<script>
document.querySelectorAll('a[href^="http"]').forEach(link => {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener');
});
</script>
</body> </body>
</html> </html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment