forked from mattvh/jekyllthemes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (63 loc) · 2.09 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
72
73
74
---
layout: default
title: Daniel Wolff's portfolio
---
<div class="row-fluid">
<div class="col-lg-12 text-center">
<div class="form-group">
<form action="/search/" method="get">
<input type="text" id="search_box" placeholder="Search through projects." name="query" class="form-control" style="width:100%">
</form>
</div>
</div>
</div>
<div class="Projects">
{% for post in paginator.posts %}
<div class="item">
<a class="item-inner" href="{{ post.url }}">
<div class="item-image"><img src="/thumbnails/{{ post.thumbnail }}"></div>
<div class="item-name">{{ post.title }}</div>
</a>
</div>
{% endfor %}
</div>
<div class="bio">
<h2>Chi sono</h2>
<p>Mi chiamo Daniel Wolff e sono uno studente presso l'Università di Lille. Questo sito contiene i miei progetti e lavori accademici. Sentiti libero di esplorare!</p>
<p>Contattami via email: <a href="mailto:[email protected]">[email protected]</a></p>
</div>
<!-- Pager -->
<div class="row-fluid">
<div class="span12">
<div class="pagination">
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li><a href="/">Prev</a></li>
{% else %}
<li><a href="/page{{ paginator.previous_page }}">Prev</a></li>
{% endif %}
{% else %}
<li><span class="disabled">Prev</span></li>
{% endif %}
{% if paginator.page == 1 %}
<li><span class="active">1</span></li>
{% else %}
<li><a href="/">1</a></li>
{% endif %}
{% for count in (2..paginator.total_pages) %}
{% if count == paginator.page %}
<li><span class="active">{{ count }}</span></li>
{% else %}
<li><a href="/page{{ count }}">{{ count }}</a></li>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<li><a href="/page{{ paginator.next_page }}">Next</a></li>
{% else %}
<li><span class="disabled">Next</span></li>
{% endif %}
</ul>
</div>
</div>
</div>