-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (50 loc) · 1.69 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
---
layout: default
title: Ottawa Android Developers
---
<!-- Content
================================================== -->
<div class="content">
<a class="oad-icon" href="/"><img src="/img/ottawaandroid.png" /></a>
<main class="container">
<div class="row-fluid">
<section class="content">
<h1>Ottawa Android Developers</h1>
<div class="sub-title">Local Android developer group for the Ottawa region.</div>
</section>
<ul class="entries">
{% for post in paginator.posts %}
<li>
<a href="{{ post.url }}">
<h3>{{ post.title }}</h3>
<time>{{ post.date | date: "%d %B %Y" }}</time>
<div>{{ post.content |truncatehtml | truncatewords: 30 }}</div>
</a>
</li>
{% endfor %}
</ul>
</div>
<div class="pagination pagination-centered">
<ul>
{% if paginator.previous_page %}
<li><a href="/page/{{paginator.previous_page}}/">«</a></li>
{% endif %}
{% if paginator.page == 1 %}
<li class="active"><a href="/">1</a></li>
{% else %}
<li><a href="/">1</a></li>
{% endif %}
{% for count in (2..paginator.total_pages) %}
{% if count == paginator.page %}
<li class="active"><a href="/page/{{count}}/">{{count}}</a></li>
{% else %}
<li><a href="/page/{{count}}/">{{count}}</a></li>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<li><a href="/page/{{paginator.next_page}}/">»</a></li>
{% endif %}
</ul>
</div>
</main>
</div>