-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (68 loc) · 2.33 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
75
76
77
78
---
layout: default
---
<style>
#h-card-container {
display: flex;
padding-bottom: 40px;
}
.img {
flex: 30%;
padding-right: 30px;
align-self: center;
}
.about {
flex: 50%;
align-self: center;
}
</style>
<div id="h-card-container" class="h-card">
<div class="img">
<img src="https://avatars.githubusercontent.com/u/32842562?v=4" class="u-photo" alt="My GitHub profile photo" style="border-radius: 100%;">
</div>
<div class="about">
<div class="p-note">
I'm <a href="http://www.aferrero.boo" class="u-uid u-url p-name" rel="me">Álvaro Ferrero</a>, a <span class="p-role">Computer Engineering student</span> from <span class="p-country-name">Spain</span> in love with open source, electronics and with an obsession about using GitHub as a social network. In this place you will not find anything useful, only tears and very stupid things.
</div>
</div>
</div>
<div class="posts h-feed">
{% for post in paginator.posts %}
<article class="post h-entry">
<a href="{{ site.baseurl }}{{ post.url }}" class="u-url">
<h1 class="p-name">{{ post.title }}</h1>
<div>
<p class="post_date dt-published">{{ post.date | date: "%B %e, %Y" }}</p>
</div>
</a>
<div class="entry p-summary">
{{ post.excerpt }}
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more u-url">Read More</a>
</article>
{% endfor %}
<!-- pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
{% else %}
<span>« Prev</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="webjeda">{{ page }}</span>
{% elsif page == 1 %}
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
{% else %}
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
{% else %}
<span>Next »</span>
{% endif %}
</div>
{% endif %}
</div>