forked from sauleh/course_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (61 loc) · 2.36 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
65
66
67
68
69
70
71
---
layout: default
comments: true
---
<div class="home">
<h1>{{ site.course_name }} <span style="font-size: 20px;color: #0006;">/ {{ site.course_semester }} </span></h1>
<div class="announcement-box" style="margin-top:30px">
<h2>Announcements</h2>
{% include announcements.html %}
</div>
<br />
<h2>Course Description</h2>
<p>{{ site.course_description }}</p>
<p>{{ site.message }}</p>
{% if site.data.previous_offering and site.data.previous_offering.offerings and site.data.previous_offering.offerings.size > 0 %}
<h2>Previous Offerings</h2>
<ul class="previous-offerings">
{% for offer in site.data.previous_offering.offerings %}
<li><a href="{{ offer.url }}">{{offer.title}}</a></li>
{% endfor %}
</ul>
{% endif %}
<br>
<div>
<div style="width:30%; float: left">
<h2>Course instructor</h2>
<div class="image--cover-container">
<img src="{{site.data.people.instructor.profile_pic | prepend: site.baseurl }}" class="image--cover">
<p>{{site.data.people.instructor.name}}</p>
</div>
</div>
<div style="width:70%; float: left">
<div class="profile-pic-gallary ">
<h2>Teaching Assistants</h2>
{% for ta in site.data.people.teaching_assistants %}
<div class="image--cover-container">
<img src="{{ta.profile_pic | prepend: site.baseurl }}" class="image--cover">
<p>{{ta.name}}</p>
</div>
{% endfor %}
</div>
</div>
</div>
{% if page.comments %}
<!-- <div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "http://sauleh.github.io/ds98";
this.page.identifier = "main";
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://ds98.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript> -->
{% endif %}
</div>