Skip to content

Commit

Permalink
Test?
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
DavidCraftDev authored Jan 15, 2023
1 parent f519821 commit e605119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions assets/js/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ function getProjekt() {
Object.keys(json).forEach(element => {
if (element == urlParams.get("projekt")) {
exist = true
var elementID = element
document.title = element + " - ZoeyVid"
var description = document.createElement('meta'); description.setAttribute('name', 'description'); description.content = json[element].description; document.getElementsByTagName('head')[0].appendChild(description);
}
})
}).then(() => {
}).then((json, elementID) => {
if (!exist) window.location.href = "https://zoeyvid.de/"
readHTML("Projekt", "https://zoeyvid.de/assets/repos/" + urlParams.get("projekt") + ".html")
})
document.getElementById("Projekt").innerHTML += "<a href=" + json[elementID].html_url + " class='text-white'>Auf GitHub Anzeigen</a>"
}
1 change: 0 additions & 1 deletion impressum/test.html

This file was deleted.

0 comments on commit e605119

Please sign in to comment.