-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·84 lines (71 loc) · 2.22 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
79
80
81
82
83
---
layout: base
title: Home
conent_description: "A blog about programming, machine learning, data science and electronics."
---
<div class="about_style">
<h4 class="animated fadeInUp"><span class="hi">Hi there!</span><p>This blog is created using Jekyll and GitHub Pages</p></h4>
<a name="skills"></a>
</div>
<div style="text-align:center">
<span class="dots_style"></span>
<span class="dots_style"></span>
<span class="dots_style"></span>
<span class="dots_style"></span>
</div>
<!-- Pagination links -->
<div id="pagination_target" class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">
<i class="fa fa-arrow-left"></i>
</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
<span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">
<i class="fa fa-arrow-right"></i>
</a>
{% else %}
<span class="next ">Next</span>
{% endif %}
</div>
<div id="mycontent" class="blog_topics_style">
<div class="list-group">
<!-- This loops through the paginated posts -->
{% for post in paginator.posts %}
<div id="article_item" class="list-group-item list-group-item-action flex-column align-items-start">
<a href="{{ post.url }}">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">{{ post.title }}</h5>
<button type="button" class="btn btn-outline-dark" disabled>{{ post.category }}</button>
</div>
<p class="mb-1">{{ post.summary }}</p>
<small>{{ post.date | date_to_string }}</small>
</a>
</div>
{% endfor %}
</div>
</div>
<div id="pagination_target" class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">
<i class="fa fa-arrow-left"></i>
</a>
{% else %}
<span class="previous">Previous</span>
{% endif %}
<span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">
<i class="fa fa-arrow-right"></i>
</a>
{% else %}
<span class="next ">Next</span>
{% endif %}
</div>