-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·64 lines (56 loc) · 2.4 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
layout: default
title: MIT Open Source
description: MIT Open Source Website
keywords: mit, dai, open, source, open source, finatra, finagle, scala
url: https://dai.lids.mit.edu
custom_css: index.css
custom_js: index.js
---
<!-- Header -->
<div class="header simple-header">
<div class="Grid container">
<div id="header-text" class="Grid-cell header-banner">
<div class="header-logo">
<img src="/assets/logo-dai.png" />
</div>
<div class="header-information">
<h1 class="large-title">Projects</h1>
<div class="statistics-summary">
<p>{{ site.data.statistics.repositories }} repositories, {{ site.data.statistics.commits }} commits, {{ site.data.statistics.contributors }} contributors</p>
</div>
<div class="search-bar">
<input class="search-box" type="text" name="search" placeholder="Search Projects" autocomplete="off" />
<span class="Icon icon--search">
<img src="/assets/icon-search.svg" />
</span>
</div>
</div>
</div>
</div>
</div>
<!-- Container for no results text -->
<div class="Grid container no-results-container"></div>
<!-- Projects grid (See renderProjects() in projects.js) -->
<div class="Grid container all-projects"></div>
<!-- End of all-projects -->
<script type="text/javascript">
let allProjects = [];
{% for item in site.data.projects %}
allProjects.push({
name: "{{ item[1]["name"] }}",
nameWithOwner: "{{ item[1]["nameWithOwner"] }}",
description: `{{ item[1]["descriptionHTML"] }}`,
color: "{{ item[1]["primaryLanguage"]["color"] }}",
primaryLanguage: "{{ item[1]["primaryLanguage"]["name"] }}",
homepageURL: "{{ item[1]["homepageUrl"] }}",
pushedAt : "{{ item[1]["pushedAt"] }}",
languages : "{{ item[1]["languages"] }}",
forks : "{{ item[1]["forkCount"] }}",
topics : "{{ item[1]["repositoryTopics"] }}",
stars : "{{ item[1]["stargazers"] }}",
watchers : "{{ item[1]["watchers"] }}",
})
{% endfor %}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.0.4/fuse.min.js" async></script>