forked from ucosp/ucosp.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (37 loc) · 1.78 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
---
layout: default
---
<div class="body">
<h1>Welcome to UCOSP!</h2>
<p>UCOSP is a program that brings together students from across Canada to work together on open source projects. Students learn how open source software development takes place, practice distributed development, and have the opportunity to work on project with knowledgeable industry or faculty mentors on software with real users.</p>
</div>
{% for post in paginator.posts %}
<div class="article">
<div class="well">
<h1><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d, %Y" }} - {{ post.title }}</a></h1>
{% if site.comments and post.comments %}
{% if site.disqus != '' %}
<p class="author"><a href="{{ site.baseurl }}{{ post.url }}/#disqus_thread" data-disqus-identifier="{{ post.url | slugify }}">Comments</a></p>
{% elsif site.isso != '' %}
<p class="author"><a href="{{ site.baseurl }}{{ post.url }}{{ site.isso_suffix }}#isso-thread">Comments</a></p>
{% endif %}
{% endif %}
<div class="content">
{{ post.content }}
</div>
</div>
</div>
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">Newer</a>
{% else %}
<a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">Newer</a>
{% endif %}
{% endif %}
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">Older</a>
{% endif %}
</div>