Merge pull request #181 from hughrun/links

open links in new tab
This commit is contained in:
Hugh Rundle 2024-02-11 16:42:51 +11:00 committed by GitHub
commit 42108a82e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,7 +117,7 @@
for (let lib of libraries) {
const li = document.createElement('li')
if (lib.url) {
li.innerHTML = `<a href="${lib.url}">${lib.name}</a>`
li.innerHTML = `<a target="_blank" href="${lib.url}" rel="noopener noreferrer">${lib.name}</a>`
} else {
li.innerText = lib.name
}