monitoring-jekyll-theme 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 636937c227b30fb5c212cd348535244e6a05e8143b45ee92124319a041f98530
4
- data.tar.gz: 61cc79dc822d3352abd03f582d3ab70b4b73e75915b55635ebd2c98da19f53ed
3
+ metadata.gz: 4bfd1f6963a38586a77491397e1823f69e6a6a5f62b7ea92c01ad556771326c3
4
+ data.tar.gz: fd14252159cc027e3c301ebca4cbcf01d5eaedaebce9c5bdf341225de7441264
5
5
  SHA512:
6
- metadata.gz: 94bf2c6eb2aab35c3544260a732b1a2b04a081af638d4d9669e22f288ea66a6e639a844a7b6c751d230083ade369d73caa393e041f28e64e963b2263aa393d50
7
- data.tar.gz: 2390018c35f6f82673e5ebe91f7c4d93bc4ea0c042f04227350ee569c793eff05273d83f4804d5a50d52b589ad9e1aa5571399afd8a359c6eb71af29a2c8b569
6
+ metadata.gz: 1c665d2aa2cba929c38c5a0d00c5ad0f965c4778f9cd518a0c2f0d3656f093c87dc7f1b9fb4bf3c20775d18e7e1bff8aeb7f7355b50147942d7c418e0767385a
7
+ data.tar.gz: 6b291b7eb276802f96818b3badc8537fb5d1863cb96c381ec7f921dd0d3310466cf3610e571a88442ad6e1e9553a34f78de9a4bfae0ef3623bd46ac386812f54
data/_includes/seo.html CHANGED
@@ -1,41 +1,91 @@
1
+ {% for website in site.pagestested limit: 1 %}
2
+ {% assign gpagespeed = site.data.[website].gpagespeed[datelastcrawl] %}
3
+ {% assign seocli = site.data.[website].seocli[datelastcrawl] %}
4
+ {% assign screamingfrog = site.data.[website].screamingfrog[datelastcrawl] %}
5
+
6
+ {% assign urlBlocks = gpagespeed.formattedResults.ruleResults.MinimizeRenderBlockingResources.urlBlocks %}
7
+ {% assign liststatus = screamingfrog | sort: 'Status Code' | reverse %}
8
+ {% assign listtitle = screamingfrog | sort: 'Title 1 Length' | reverse %}
9
+ {% assign listmeta = screamingfrog | sort: 'Meta Description 1 Length' | reverse %}
10
+ {% assign listh1 = screamingfrog | sort: 'H1-1 length' | reverse %}
11
+ {% assign listsizepage = screamingfrog | sort: 'Size (bytes)' | reverse %}
12
+ {% assign listsizepage = listsizepage | where_exp: "item", "item.Content != 'image/jpeg' and item.Content != 'image/png'" %}
13
+ {% assign listsizepage = listsizepage | where_exp: "item", "item.Content != 'image/gif' and item.Indexability == 'Indexable'" %}
14
+ {% assign listsizeimage = screamingfrog | sort: 'Size (bytes)' | reverse %}
15
+ {% assign listsizeimage = listsizeimage | where_exp: "item", "item.Content contains 'image'" %}
16
+ {% assign listresponse = screamingfrog | sort: 'Response Time' | reverse %}
17
+
18
+ {% assign status = "" | split: ',' %}
19
+ {% assign title = "" | split: ',' %}
20
+ {% assign meta = "" | split: ',' %}
21
+ {% assign h1 = "" | split: ',' %}
22
+ {% assign sizepage = "" | split: ',' %}
23
+ {% assign sizeimage = "" | split: ',' %}
24
+ {% assign response = "" | split: ',' %}
25
+
26
+ {% for topList in liststatus %} {% assign value = topList.[Status Code] %} {% if value != "OK" %}{% assign status = status | push: value %}{% endif %}{% endfor %}
27
+ {% for topList in listtitle %} {% assign value = topList.["Title 1 Length"] | times: 1 %} {% if value > 65 %}{% assign title = title | push: value %}{% endif %}{% endfor %}
28
+ {% for topList in listmeta %} {% assign value = topList.["Meta Description 1 Length"] | times: 1 %} {% if value > 155 %}{% assign meta = meta | push: value %}{% endif %}{% endfor %}
29
+ {% for topList in listh1 %} {% assign value = topList.["H1-1 length"] | times: 1 %} {% if value > 70 %}{% assign h1 = h1 | push: value %}{% endif %}{% endfor %}
30
+ {% for topList in listsizepage %} {% assign value = topList.["Size (bytes)"] | times: 1 %} {% if value > 22000 %}{% assign sizepage = sizepage | push: value %}{% endif %}{% endfor %}
31
+ {% for topList in listsizeimage %} {% assign value = topList.["Size (bytes)"] | times: 1 %} {% if value > 18000 %}{% assign sizeimage = sizeimage | push: value %}{% endif %}{% endfor %}
32
+ {% for topList in listresponse %}{% assign value = topList.["Response Time"] %} {% if value > "1" %}{% assign response = response | push: value %}{% endif %}{% endfor %}
33
+
34
+ {% endfor %}
35
+
1
36
  <div class="js-tabs" data-existing-hx="h2" data-tabs-prefix-class="tabs">
2
37
  <ul class="js-tablist">
38
+ {% if urlBlocks %}
3
39
  <li class="js-tablist__item">
4
40
  <a href="#seo-blocking" class="js-tablist__link">Blocking URLs</a>
5
41
  </li>
42
+ {% endif %}
43
+ {% if status %}
6
44
  <li class="js-tablist__item">
7
45
  <a href="#seo-status" class="js-tablist__link">URL status</a>
8
46
  </li>
47
+ {% endif %}
48
+ {% if title %}
9
49
  <li class="js-tablist__item">
10
50
  <a href="#seo-title" class="js-tablist__link">Title 1 Length</a>
11
51
  </li>
52
+ {% endif %}
53
+ {% if meta %}
12
54
  <li class="js-tablist__item">
13
55
  <a href="#seo-meta-description" class="js-tablist__link">Meta Description Length</a>
14
56
  </li>
57
+ {% endif %}
58
+ {% if h1 %}
15
59
  <li class="js-tablist__item">
16
60
  <a href="#seo-h1" class="js-tablist__link">H1 length</a>
17
61
  </li>
62
+ {% endif %}
63
+ {% if sizepage %}
18
64
  <li class="js-tablist__item">
19
65
  <a href="#seo-page-size" class="js-tablist__link">Page Size</a>
20
66
  </li>
67
+ {% endif %}
68
+ {% if sizeimage %}
21
69
  <li class="js-tablist__item">
22
70
  <a href="#seo-image-size" class="js-tablist__link">Image Size</a>
23
71
  </li>
72
+ {% endif %}
73
+ {% if response %}
24
74
  <li class="js-tablist__item">
25
75
  <a href="#seo-response-time" class="js-tablist__link">Response Time</a>
26
76
  </li>
77
+ {% endif %}
27
78
  </ul>
28
79
 
29
- {% for website in site.pagestested limit: 1 %}
30
80
 
81
+ {% if urlBlocks %}
31
82
  <div id="seo-blocking" class="js-tabcontent">
32
83
  <h3>Blocking URLs</h3>
33
84
  <p>Les urls longues qui bloquent le chargement d’une page.</p>
34
- {% assign gpagespeed = site.data.[website].gpagespeed[datelastcrawl] %}
35
85
  <ol class="flex-list">
36
- {% for urlBlocks in gpagespeed.formattedResults.ruleResults.MinimizeRenderBlockingResources.urlBlocks %}
86
+ {% for urlBlock in urlBlocks %}
37
87
  {% if forloop.length != 0 %}
38
- {% for url in urlBlocks.urls %}
88
+ {% for url in urlBlock.urls %}
39
89
  {% for arg in url.result.args %}
40
90
  <li><a href="{{ arg.value }}">{{ arg.value }}</a></li>
41
91
  {% endfor %}
@@ -44,16 +94,13 @@
44
94
  {% endfor %}
45
95
  </ol>
46
96
  </div>
47
-
48
-
49
-
50
- {% assign screamingfrog = site.data.[website].screamingfrog[datelastcrawl] %}
97
+ {% endif %}
98
+ {% if status %}
51
99
  <div id="seo-status" class="js-tabcontent screamingfrog">
52
100
  <h3>URL status (different of OK)</h3>
53
101
  <p>Les urls présentant un status différent de valide.</p>
54
102
  <ol class="flex-list">
55
- {% assign list = screamingfrog | sort: 'Status Code' | reverse %}
56
- {% for topList in list %}
103
+ {% for topList in liststatus %}
57
104
  {% assign value = topList.[Status Code] %}
58
105
  {% if value != "OK" %}<li><a href='{{ topList.Address }}'
59
106
  title='{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}'>{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}</a>
@@ -61,12 +108,13 @@
61
108
  {% endfor %}
62
109
  </ol>
63
110
  </div>
111
+ {% endif %}
112
+ {% if title %}
64
113
  <div id="seo-title" class="js-tabcontent screamingfrog">
65
114
  <h3>Title 1 Length</h3>
66
115
  <p>Si plus de 65 caractères</p>
67
116
  <ol class="flex-list">
68
- {% assign list = screamingfrog | sort: 'Title 1 Length' | reverse %}
69
- {% for topList in list %}
117
+ {% for topList in listtitle %}
70
118
  {% assign value = topList.["Title 1 Length"] | times: 1 %}
71
119
  {% if value > 65 %}<li><a href='{{ topList.Address }}'
72
120
  title='{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}'>{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}</a>
@@ -74,12 +122,13 @@
74
122
  {% endfor %}
75
123
  </ol>
76
124
  </div>
125
+ {% endif %}
126
+ {% if meta %}
77
127
  <div id="seo-meta-description" class="js-tabcontent screamingfrog">
78
128
  <h3>Meta Description 1 Length</h3>
79
129
  <p>Si plus de 155 caractères.</p>
80
130
  <ol class="flex-list">
81
- {% assign list = screamingfrog | sort: 'Meta Description 1 Length' | reverse %}
82
- {% for topList in list %}
131
+ {% for topList in listmeta %}
83
132
  {% assign value = topList.["Meta Description 1 Length"] | times: 1 %}
84
133
  {% if value > 155 %}<li><a href='{{ topList.Address }}'
85
134
  title='{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}'>{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}</a>
@@ -87,12 +136,13 @@
87
136
  {% endfor %}
88
137
  </ol>
89
138
  </div>
139
+ {% endif %}
140
+ {% if h1 %}
90
141
  <div id="seo-h1" class="js-tabcontent screamingfrog">
91
142
  <h3>H1-1 length</h3>
92
143
  <p>Si plus de 70 caractères.</p>
93
144
  <ol class="flex-list">
94
- {% assign list = screamingfrog | sort: 'H1-1 length' | reverse %}
95
- {% for topList in list %}
145
+ {% for topList in listh1 %}
96
146
  {% assign value = topList.["H1-1 length"] | times: 1 %}
97
147
  {% if value > 70 %}<li><a href='{{ topList.Address }}'
98
148
  title='{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}'>{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}</a>
@@ -100,12 +150,13 @@
100
150
  {% endfor %}
101
151
  </ol>
102
152
  </div>
153
+ {% endif %}
154
+ {% if sizepage %}
103
155
  <div id="seo-page-size" class="js-tabcontent screamingfrog">
104
156
  <h3>Page Size</h3>
105
157
  <p>Les pages les plus lourdes.</p>
106
158
  <ol class="flex-list">
107
- {% assign list = screamingfrog | sort: 'Size (bytes)' | reverse %}
108
- {% for topList in list %}
159
+ {% for topList in listsizepage %}
109
160
  {% assign content = topList.["Content"] %}
110
161
  {% assign value = topList.["Size (bytes)"] | times: 1 %}
111
162
  {% if content != "image/jpeg" and content != "image/png" and content != "image/gif" and topList.Indexability == "Indexable" %}{% if value > 220000 %}
@@ -115,27 +166,30 @@
115
166
  {% endfor %}
116
167
  </ol>
117
168
  </div>
169
+ {% endif %}
170
+ {% if sizeimage %}
118
171
  <div id="seo-image-size" class="js-tabcontent screamingfrog">
119
172
  <h3>Image Size</h3>
120
173
  <p>Les images les plus lourdes.</p>
121
174
  <ol class="flex-list">
122
- {% for topList in list %}
175
+ {% for topList in listsizeimage %}
123
176
  {% assign content = topList.["Content"] %}
124
177
  {% assign value = topList.["Size (bytes)"] | times: 1 %}
125
178
  {% if content == "image/jpeg" or content == "image/png" or content == "image/gif" %}{% if value > 180000 %}
126
179
  <li>
127
180
  <a href='{{ topList.Address }}'
128
181
  title='{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}'>{{ topList.Address | replace: "https://www.leforestier-immobilier.com",""}}</a>
129
- <span>{{ value | filesize }}</span></li>{% endif %}{% endif %}
182
+ <span>{{ value | filesize }}</span></li>{% endif %}{% endif %}
130
183
  {% endfor %}
131
184
  </ol>
132
185
  </div>
186
+ {% endif %}
187
+ {% if response %}
133
188
  <div id="seo-response-time" class="js-tabcontent screamingfrog">
134
189
  <h3>Response Time</h3>
135
190
  <p>Temps de réponse.</p>
136
191
  <ol class="flex-list">
137
- {% assign list = screamingfrog | sort: 'Response Time' | reverse %}
138
- {% for topList in list %}
192
+ {% for topList in listresponse %}
139
193
  {% assign content = topList.["Content"] %}
140
194
  {% assign value = topList.["Response Time"] %}
141
195
  {% if content != "image/jpeg" and value > "1" %}<li><a href='{{ topList.Address }}'
@@ -144,6 +198,7 @@
144
198
  {% endfor %}
145
199
  </ol>
146
200
  </div>
201
+ {% endif %}
147
202
 
148
203
 
149
204
  {% comment %}
@@ -162,5 +217,5 @@
162
217
  </div>
163
218
  {% endcomment %}
164
219
 
165
- {% endfor %}
220
+
166
221
  </div>
@@ -16,6 +16,7 @@
16
16
  {% assign gpagespeed = site.data.[website].gpagespeed[datelastcrawl] %}
17
17
  {% assign yellowlabtools = site.data.[website].yellowlabtools[datelastcrawl] %}
18
18
  {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
19
+ {% assign moz = site.data.[website].moz[datelastcrawl]%}
19
20
 
20
21
  {% assign indexes = "" | split: ',' %}
21
22
  {% assign indexesname = "Accessibilité,Bonnes pratiques,Performance,SEO,PWA,Speed Index" | split: ',' %}
@@ -24,45 +25,50 @@
24
25
 
25
26
  {% comment %}Calcul du score moyen à partir des données httparchive{% endcomment %}
26
27
  {% assign domaverage = 600 | times: 3 %}{% assign httpaverage = 74 | times: 2 %}
27
- {% assign ecoaverage = domaverage | plus: httpaverage | plus: 2000000 | divided_by: 6 %}
28
+ {% assign ecoaverage = domaverage | plus: httpaverage | plus: 2000000 | times: 5 | divided_by: 6 %}
28
29
 
29
30
  {% comment %}Calcul du score le meilleur à partir du site bertrandkeller.info {% endcomment %}
30
31
  {% assign dombest = 150 | times: 3 %}{% assign httpbest = 15 | times: 2 %}
31
- {% assign ecobest = dombest | plus: httpbest | plus: 1000000 | divided_by: 6 %}
32
+ {% assign ecobest = dombest | plus: httpbest | plus: 1000000 | times: 5 | divided_by: 6 %}
32
33
 
33
34
  {% comment %}Calcul du score pour le site le pire{% endcomment %}
34
35
  {% assign domworth = 5000 | times: 3 %}{% assign httpworth = 120 | times: 2 %}
35
- {% assign ecoworth = domworth | plus: httpworth | plus: 7000000 | divided_by: 6 %}
36
+ {% assign ecoworth = domworth | plus: httpworth | plus: 7000000 | times: 5 | divided_by: 6 %}
36
37
 
37
38
  {% comment %}Calcul du score le meilleur{% endcomment %}
38
39
  {% assign ecobestscore = ecobest | times: 100 | divided_by: ecoworth %}
39
40
 
40
- {% comment %}Calcul de la valeur du site calculé{% endcomment %}
41
+ {% comment %}Calcul de la valeur du site audité{% endcomment %}
41
42
  {% assign dom = lighthouse.audits["dom-size"].details.items[0].value | replace: ",","" | times: 3 %}{% assign http = lighthouse.audits.diagnostics.details.items[0].numRequests | times: 2 %}
42
- {% assign eco = dom | plus: http | plus: lighthouse.audits.diagnostics.details.items[0].totalByteWeight | divided_by: 6 %}
43
+ {% assign eco = dom | plus: http | plus: lighthouse.audits.diagnostics.details.items[0].totalByteWeight | times: 5 | divided_by: 6 %}
44
+
45
+ {% assign ecodiviser = ecoworth | minus: ecobest %}
43
46
 
44
47
  <h3 style="display: none;">Scores</h3>
45
48
 
49
+ {% if lighthouse %}
46
50
  <div class="progress progress-bar flex">
47
51
  <div><h4>Energie</h4></div>
48
52
  <div>
49
53
  <div class="progress-bar-element">
50
54
  <div>
51
55
  <!-- <div class="progress-bar-tooltip" style="transform: translate(50%,-50%);background: rgba(34,150,30,1);">Max</div> -->
52
- <div class="progress-bar-tooltip" style="left: {{ eco | times: 100 | divided_by: ecoworth }}%;">{{ site.title }}</div>
53
- <div class="progress-bar-tooltip" style="left: {{ ecoaverage | times: 100 | divided_by: ecoworth }}%;">Moyenne mondiale</div>
56
+ <div class="progress-bar-tooltip" style="left: {{ eco | minus: ecobest | times: 100 | divided_by: ecodiviser }}%;">{{ site.title }}</div>
57
+ <div class="progress-bar-tooltip" style="left: {{ ecoaverage | minus: ecobest | times: 100 | divided_by: ecodiviser }}%;">Moyenne grands sites</div>
54
58
  <!-- <div class="progress-bar-tooltip" style="background: rgba(176,2,2,1);">Min</div> -->
55
59
  </div>
56
60
  <div>
57
61
  <div class="progress-bar-score" style="transform: translate(50%,35%);color: rgba(34,150,30,1);">100</div>
58
- <div class="progress-bar-score" style="left: {{ eco | times: 100 | divided_by: ecoworth }}%;">{{ eco | times: 100 | divided_by: ecoworth | minus: 100 | times: -1 | plus: ecobestscore }}</div>
59
- <div class="progress-bar-score" style="left: {{ ecoaverage | times: 100 | divided_by: ecoworth }}%;">{{ ecoaverage | times: 100 | divided_by: ecoworth | minus: 100 | times: -1 | plus: ecobestscore }}</div>
62
+ <div class="progress-bar-score" style="left: {{ eco | minus: ecobest | times: 100 | divided_by: ecodiviser }}%;">{{ eco | minus: ecobest | times: 100 | divided_by: ecodiviser | minus: 100 | times: -1 }}</div>
63
+ <div class="progress-bar-score" style="left: {{ ecoaverage | minus: ecobest | times: 100 | divided_by: ecodiviser }}%;">{{ ecoaverage | minus: ecobest | times: 100 | divided_by: ecodiviser | minus: 100 | times: -1 }}</div>
60
64
  <div class="progress-bar-score" style="color: rgba(176,2,2,1);">0</div>
61
65
  </div>
62
66
  </div>
63
67
  </div>
64
68
  </div>
69
+ {% endif %}
65
70
 
71
+ {% if lighthouse %}
66
72
  <div class="progress progress-circular flex">
67
73
  <div><h4>Qualite</h4></div>
68
74
  <div>
@@ -89,7 +95,9 @@
89
95
  </ul>
90
96
  </div>
91
97
  </div>
98
+ {% endif %}
92
99
 
100
+ {% if moz %}
93
101
  <div class="progress progress-circular flex">
94
102
  <div><h4>Position</h4></div>
95
103
  <div>
@@ -118,6 +126,7 @@
118
126
  </ul>
119
127
  </div>
120
128
  </div>
129
+ {% endif %}
121
130
  {% endfor %}
122
131
 
123
132
  <div class="js-tabs" data-existing-hx="h2" data-tabs-prefix-class="tabs">
@@ -283,21 +292,20 @@
283
292
  </div>
284
293
 
285
294
  <div class="list-actions list-actions-table">
286
- <h3>Tableaux des points energie perdus</h3>
287
- <div class="grid grid-score">
288
295
  {% for website in site.pagestested limit: 1 %}
289
296
  {% assign lighthouse = site.data.[website].lighthouse[datelastcrawl] %}
290
-
291
- {% assign networkrequests = lighthouse.audits.["network-requests"].details.items %}
292
-
293
- {% if networkrequests.resourceType != 'Document' %}{% if networkrequests.resourceType != 'Other' %}
294
- {% assign requests = networkrequests | sort: 'resourceSize'%}
297
+ {% assign total = 0 %}
298
+ {% assign networkrequests = lighthouse.audits.["network-requests"].details.items %}
299
+ {% if networkrequests.resourceType != 'Document' %}{% if networkrequests.resourceType != 'Other' %}
300
+ {% assign requests = networkrequests | sort: 'transferSize'%}
301
+ {% for request in requests reversed %}{% assign total = total | plus: request.transferSize %}{% endfor %}
302
+ {% endif %}{% endif %}
303
+ {% endfor %}
304
+ <h3>Tableaux des points energie perdus</h3>
305
+ <div class="grid grid-score">
295
306
  {% for request in requests reversed %}
296
- {% if request.resourceSize > 30000 %}<div style="grid-area: auto / auto / span 1 / span {{ request.resourceSize | times: 1.00 | divided_by: 6 | times: 50 | divided_by: ecoworth | round: 0 }};position: relative;"><span>{{ request.url }}</span><b class="pointseco" title="{{ request.url }}">{{ request.resourceSize | times: 1.00 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></div>{% endif %}
307
+ {% if request.transferSize > 32000 %}<div style="grid-area: auto / auto / span 1 / span {{ request.transferSize | times: 1.00 | divided_by: 6 | times: 50 | divided_by: ecoworth | round: 0 }};position: relative;"><span>{{ request.url }}</span><b class="pointseco" title="{{ request.url }}">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></div>{% endif %}
297
308
  {% endfor %}
298
- {% endif %}{% endif %}
299
-
300
- {% endfor %}
301
309
  </div>
302
310
 
303
311
 
@@ -309,11 +317,11 @@
309
317
  {% assign networkrequests = lighthouse.audits.["network-requests"].details.items | group_by: "resourceType" %}
310
318
  {% for items in networkrequests %}
311
319
  {% if items.name != 'Document' %}{% if items.name != 'Other' %}{% if items.items %}
312
- <h3>{{ items.name }}</h3>
320
+ {% if items.items %}<h3>{{ items.name }}</h3>{% endif %}
313
321
  <ul>
314
- {% assign requests = items.items | sort: 'resourceSize'%}
322
+ {% assign requests = items.items | sort: 'transferSize'%}
315
323
  {% for request in requests reversed %}
316
- {% if request.resourceSize > 30000 %}<li><a href="{{ request.url }}" title="{{ request.url }}">{{ request.url | slice: 0, 100 }}</a><b>{{ request.resourceSize | filesize }}</b><b class="pointseco">{{ request.resourceSize | times: 1.00 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></li>{% endif %}
324
+ {% if request.transferSize > 32000 %}<li><a href="{{ request.url }}" title="{{ request.url }}">{{ request.url | slice: 0, 100 }}</a><b>{{ request.transferSize | filesize }}</b><b class="pointseco">{{ request.transferSize | times: 1.00 | times: 5 | divided_by: 6 | times: 100 | divided_by: ecoworth | round: 0 }}</b></li>{% endif %}
317
325
  {% endfor %}
318
326
  </ul>
319
327
  {% endif %}{% endif %}{% endif %}
@@ -151,7 +151,7 @@ a {
151
151
 
152
152
  .list-actions-grid ol, .list-actions-grid ul {
153
153
  display: grid;
154
- grid-template-columns: repeat(3, minmax(100px, 1fr));
154
+ grid-template-columns: repeat(2, minmax(100px, 1fr));
155
155
  grid-gap: 0 1em;
156
156
  }
157
157
 
data/index.html CHANGED
@@ -55,44 +55,27 @@ title: Monitoring
55
55
  <h3>Position par mots clefs</h3>
56
56
  <div class="screamingfrog">
57
57
  {% for website in site.pagestested limit:1 %}
58
- {% for data in file reversed %}
59
- {% if forloop.first %}
60
- {% assign whatsmyserp = site.data.[website].whatsmyserp[data] %}
58
+ {% assign whatsmyserp = site.data.[website].whatsmyserp[datelastcrawl] %}
61
59
  <ul class="flex-list">
62
60
  {% for value in whatsmyserp %}
63
61
  <li><b>{{ value.keyword }}</b> {% if value.position %}<span>{{ value.position }}</span>{% endif %}</li>
64
62
  {% endfor %}
65
63
  </ul>
66
- {% endif %}
67
- {% endfor %}
68
64
  {% endfor %}
69
65
  </div>
70
66
  {% endif %}
71
67
 
72
68
  <!--/ COMPETITORS -->
73
69
  {% if site.zone.competitors == true %}
70
+ {% for website in site.pagestested limit:1 %}
71
+ {% assign serpstat = site.data.[website].serpstat[datelastcrawl] %}
72
+ {% if serpstat %}
74
73
  <h3>Concurrents</h3>
75
74
  <div class="list-actions list-actions-grid">
76
75
  <ol>
77
- <li><a href="http://demeuresdeshautesfalaises.fr">demeuresdeshautesfalaises.fr</a></li>
78
- <li><a href="http://demeures-cotesdalbatre.fr">demeures-cotesdalbatre.fr</a></li>
79
- <li><a href="http://cotes-et-mer.fr">cotes-et-mer.fr</a></li>
80
- <li><a href="http://neytimmobilier.com">neytimmobilier.com</a></li>
81
- <li><a href="http://demeures-cotieres.fr">demeures-cotieres.fr</a></li>
82
- <li><a href="http://odilemuraz-immobilier.fr">odilemuraz-immobilier.fr</a></li>
83
- <li><a href="http://immo-normandy.fr">immo-normandy.fr</a></li>
84
- <li><a href="http://canyimmobilier.com">canyimmobilier.com</a></li>
85
- <li><a href="http://artpierre-immo.com">artpierre-immo.com</a></li>
86
- <li><a href="http://terresetdemeuresdenormandie.com">terresetdemeuresdenormandie.com</a></li>
87
- <li><a href="http://cazin-immobilier.com">cazin-immobilier.com</a></li>
88
- <li><a href="http://mamaisondecharme.com">mamaisondecharme.com</a></li>
89
- <li><a href="http://chateauxpourtous-rustique.fr">chateauxpourtous-rustique.fr</a></li>
90
- <li><a href="http://equidomain.com">equidomain.com</a></li>
91
- <li><a href="http://residences-secondaires.com">residences-secondaires.com</a></li>
92
- <li><a href="http://proprietes-equestres.com">proprietes-equestres.com</a></li>
93
- <li><a href="http://cotelittoral.fr">cotelittoral.fr</a></li>
94
- <li><a href="http://barnes-proprietes-chateaux.com">barnes-proprietes-chateaux.com</a></li>
95
- <li><a href="http://maisons-et-chateaux.com">maisons-et-chateaux.com</a></li>
76
+ {% for value in serpstat %}
77
+ <li><a href="{{ value.domain }}">{{ value.domain }}</a> {% if value.FBshare %}<b>{{ value.FBshare }} {% include svg/facebook.svg %}</b>{% endif %}</li>
78
+ {% endfor %}
96
79
  </ol>
97
80
  </div>
98
81
  <h3>Graphique de similarité</h3>
@@ -100,6 +83,8 @@ title: Monitoring
100
83
  {% include competitors.html %}
101
84
  </div>
102
85
  {% endif %}
86
+ {% endfor %}
87
+ {% endif %}
103
88
 
104
89
  <!--/ ACCESSIBILITY -->
105
90
  {% if site.zone.accessibility == true %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bertrandkeller