-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (42 loc) · 1.46 KB
/
index.html
File metadata and controls
53 lines (42 loc) · 1.46 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>learn-javascript</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700">
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<div id="header">
<h1 id="logo"> learn-javascript </h1>
<h3 id="logo-small"> a compilation of FREE resources by <a href="https://webchat.freenode.net/?channels=learnjavascript">#learnjavascript @ irc.freenode</a></h3>
</div>
<div id="content"></div>
<script id="main_template" type="text/html">
<ul class="list-container">
{{#if this.title}}
<h2 class="list-header"> {{this.title}} </h2>
<span class="list-header-description"> {{this.description}} </span>
{{/if}}
{{#each this.lists}}
<li class="list-item">
<span class="list-title"> {{this.title}} </span>
<p class="list-description"> {{this.description}} </p>
<ul class="link-container">
{{#each this.links}}
<li class="link-item">
<a class="link-url" href={{this.url}}>[{{this.type}}]</a>
{{this.description}}
</li>
{{/each}}
</ul>
</li>
{{/each}}
</ul>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reqwest/1.1.4/reqwest.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>