-
Notifications
You must be signed in to change notification settings - Fork 26
/
index.html
145 lines (106 loc) · 4.58 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
---
layout: default
title: Conan C/C++ Package Manager Official Blog
description: Conan team writing about C/C++, Conan package manager, Binaries, Devops and more
---
<div class="home full-page-content wide-container">
<div class="container wide-container">
<!-- MAIN CONTENT (LEFT) -->
<div class="row main-row pt-5 pb-3">
<div class="col-md-9 main-content">
<div class="container">
<div class="row justify-content-between align-items-center">
<div class="col-lg-6">
<div class="home-title">
<h1 class="font-weight-bold">
Talking about C, C++, Conan, Binaries and Devops
</h1>
</div>
</div>
<div class="col-lg-6">
<div class="home-search pt-3 pt-lg-0">
{% include search-bar.html %}
</div>
</div>
</div>
</div>
<div class="container">
<div class="posts-list row py-3">
{% for post in paginator.posts %}
{% if post.title != "Rust Cargo And Conan Are Friends With Benefits" %}
<div class="single-post-list-item-wrapper col-lg-12 pb-0 pt-0 pt-lg-4 mb-lg-1">
<div class="single-post-list-item">
<div class="d-flex flex-wrap justify-content-between mt-2 mt-lg-3 single-post-list-top px-3">
<div class="post-meta pr-4 d-flex align-items-center">
<span class="date">{{ post.date | date: "%b %-d, %Y" }}</span>
<div class="dot d-block ml-2 mr-2"></div>
<span class="reading-time">
<span class="dot mr-2">
•
</span>
{% assign numberOfWords = post.content | number_of_words %}
{% assign readingTime = numberOfWords | divided_by: 180 %}
{% assign readingTime = readingTime | plus: 1 %}
{% if readingTime < 2 %}
{{ readingTime }} minute read
{% else %}
{{ readingTime }} minutes read
{% endif %}
</span>
</div>
<div class="post-share d-flex">
<span class="d-inline-block mr-2">Share on: </span>
{% include socials.html %}
</div>
</div>
<!-- TITLE -->
<div class="spli-footer">
<div class="h2">
<a class="post-link d-block post-link-couple" id="post-{{forloop.index}}" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
<!-- pagination -->
{% if paginator.total_pages > 1 %}
<div class="pagination text-center w-100 d-flex justify-content-center py-3 align-items-center">
{% if paginator.previous_page %}
<a class="pagination-link pagination-prev" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"> < </a>
{% else %}
<span class="pagination-prev pagination-item"> < </span>
{% endif %}
<div class="pagination-nums px-2">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="pagination-item">{{ page }}</span>
{% elsif page == 1 %}
<a class="pagination-link" href="/">{{ page }}</a>
{% else %}
<a class="pagination-link" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
</div>
{% if paginator.next_page %}
<a class="pagination-link pagination-next" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"> > </a>
{% else %}
<span class="pagination-item pagination-next"> > </span>
{% endif %}
</div>
{% endif %}
</div>
<div class="row">
<div class="col-12">
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>
</div>
</div>
</div>
<!-- SIDEBAR -->
<div class="col-md-3 sidebar-holder text-right pl-5">
{% include sidebar.html %}
</div>
</div>
</div>
</div>