Add UXHack to projects. Future proof CV links
This commit is contained in:
+4
-1
@@ -2,8 +2,11 @@
|
||||
layout: page
|
||||
---
|
||||
<h1>Redirecting...</h1>
|
||||
<a id="redir" src="/">Click Here</a>
|
||||
<p style="display: none;" id="cat">{{page.class}}</p>
|
||||
<p style="display: none;" id="cat2">{{page.title | uri_escape }}</p>
|
||||
<script>
|
||||
window.location.replace("/projects/" + document.getElementById("cat").innerText.toLowerCase() + "#" + document.getElementById("cat2").innerText);
|
||||
const result = "/projects/" + document.getElementById("cat").innerText.toLowerCase() + "#" + document.getElementById("cat2").innerText;
|
||||
document.getElementById("redir").src = result
|
||||
window.location.replace(result);
|
||||
</script>
|
||||
Reference in New Issue
Block a user