-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
87 lines (81 loc) · 2.74 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
---
layout: page
title: Le Blog
tagline:
---
{% for post in site.posts limit:10%}
<div class="row">
<div class="date col-lg-3">
<span class="far fa-clock"></span>
{{ post.date | date:"%Y-%m-%d" }}
</div>
<div class="col-lg-6">
{% unless post.tags == empty %}
<ul class="list-inline">
{% assign tags_list = post.tags %}
{% include JB/tags_list %}
</ul>
{% endunless %}
</div>
<div class="col-lg-3 comments-heading">
<a href="{{post.url}}#disqus_thread"><span class="far fa-comment-alt"></span> Commentaires</a>
</div>
</div>
<div class="row">
<div class="col-lg-10 post-wrapper">
<div class="px-lg-5">
<h1 class="post-title"><a title="Lien permanent vers {{ post.title }}" href="{{post.url}}">{{ post.title }}</a></h1>
<div>{{ post.content }}</div>
</div>
</div>
<div class="col-lg-2 sidebar">
<div class="authors">
{% for auth in post.author %}
{% assign author = site.authors[auth] %}
<p>
<img class="rounded-circle" alt="" style="width:60px" src="//en.gravatar.com/avatar/{{author.gravatar}}?s=60">
</p>
<h4>{{author.name}}</h4>
<ul class="list-unstyled">
<li><a href="https://github.com/{{author.github}}">Github</a></li>
<li><a href="https://twitter.com/{{author.twitter}}">Twitter</a></li>
</ul>
{% endfor %}
</div>
<div id="promotion" class="training-dates">
{% include ninjasquad/promotion %}
</div>
<div class="pages">
<h4>Navigation</h4>
<ul class="list-unstyled">
{% assign pages_list = site.pages %}
{% assign group = 'navigation' %}
{% include JB/pages_list %}
</ul>
</div>
<div class="training-dates">
{% include ninjasquad/trainings %}
</div>
<div class="training-dates">
{% include ninjasquad/followus %}
</div>
</div>
</div>
<hr/>
{% endfor %}
<p>
<a href="{{ BASE_PATH }}{{ site.JB.archive_path }}">Posts plus anciens</a>
</p>
<script>
{% if site.safe == false %}var disqus_developer = 1;{% endif %}
var disqus_shortname = '{{ site.JB.comments.disqus.short_name }}';
var disqus_url = '{{site.production_url}}{{page.url}}';
{% if page.wordpress_id %}var disqus_identifier = '{{page.wordpress_id}} {{site.production_url}}/?p={{page.wordpress_id}}';{% endif %}
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>