forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
76 lines (65 loc) · 2.08 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
---
layout: page
subtitle: Virtualization technologies - Xavier Avrillier
---
<!-- Start sponsor banner
<p>
<center>
<a rel="nofollow" href="https://www.bdrsuite.com/vembu-bdr-suite-download/?utm_source=vxav&utm_medium=blog&utm_campaign=download">
<img src="http://www.vxav.fr/img/BDRSuite_Banner3.png" style="box-shadow: 0px 0px 10px grey;">
</a>
</center>
</p>
End sponsor banner -->
<div class="posts-list">
{% for post in paginator.posts %}
<!--<hr class="Preview">-->
<article class="post-preview">
<a href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-title">{{ post.title }}</h2>
{% if post.subtitle %}
<h3 class="post-subtitle">
{{ post.subtitle }}
</h3>
{% endif %}
</a>
<p class="post-meta">
Posted on {{ post.date | date: "%B %-d, %Y" }}
</p>
<div class="post-entry">
{{ post.content | truncatewords: 50 | strip_html | xml_escape}}
<a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[Read More]</a>
</div>
</article>
<!-- GOOGLE ADSENSE MANUEL -->
{% if forloop.index == 2 or forloop.index == 6 %}
<article class="post-preview">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="fluid"
data-ad-layout-key="-g9-23+3h-da+7h"
data-ad-client="ca-pub-4676575955468694"
data-ad-slot="4110036135"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</article>
{% endif %}
<!-- / GOOGLE ADSENSE MANUEL -->
{% endfor %}
</div>
{% if paginator.total_pages > 1 %}
<ul class="pager main-pager">
{% if paginator.previous_page %}
<li class="previous">
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer Posts</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="next">
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts →</a>
</li>
{% endif %}
</ul>
{% endif %}