generated from cal-cs184/hw-webpage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 1.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head> </head>
<body>
<h3>James Pearce's CS184/284A Homework Webpages</h3>
<br /><br />
<a href="/hw1/index.html">Homework 1</a>
<br /><br />
<a href="/hw2/index.html">Homework 2</a>
<br /><br />
<a href="/hw3/index.html">Homework 3</a>
<br /><br />
<a href="/hw4/index.html">Homework 4</a>
<br /><br />
<a href="/proposal/index.html">Final Proposal</a>
<br /><br />
<a href="/milestone/index.html">Milestone</a>
<br /><br />
<a href="/final_deliverable/index.html">Final Deliverable</a>
</body>
<script>
var links = document.body.getElementsByTagName("a");
var a = window.location.href.indexOf(".io");
var repo_name = window.location.href.substring(a + 3);
for (var i = 0; i < links.length; i++) {
var link = links[i];
var actual_name = link.href.substring(link.href.indexOf(".io") + 4);
link.href = repo_name + actual_name;
}
</script>
</html>