Merge pull request 'SEO Optims' (#80) from seo-optims into master

Reviewed-on: #80
This commit is contained in:
Florent Le Saout 2024-03-18 15:07:08 +01:00
commit b58b2357c0
17 changed files with 53 additions and 29 deletions

View File

@ -42,7 +42,7 @@
<ul class="tag-list mt-3"> <ul class="tag-list mt-3">
{% for item in tags %} {% for item in tags %}
<li class="tag-item"> <li class="tag-item">
<a href="/equipe/{{ item }}">{{ item }}</a> <a href="/equipe/{{ item }}/">{{ item }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -50,7 +50,7 @@
</div> </div>
</div> </div>
</article> </article>
<a class="return-link" href="/equipe">Voir tous les membres</a> <a class="return-link" href="/equipe/">Voir tous les membres</a>
</section> </section>
{% include "partials/components/contact-form.njk" %} {% include "partials/components/contact-form.njk" %}
</main> </main>

View File

@ -12,7 +12,7 @@
<img class="post-pic" src="{{ illustration }}" alt="illustration de l'article"> <img class="post-pic" src="{{ illustration }}" alt="illustration de l'article">
{% endif %} {% endif %}
{{ content | safe }} {{ content | safe }}
<a class="return-link" href="/posts">Voir toute l'actualité</a> <a class="return-link" href="/posts/">Voir toute l'actualité</a>
</div> </div>
</article> </article>
{% include "partials/components/contact-form.njk" %} {% include "partials/components/contact-form.njk" %}

View File

@ -8,13 +8,13 @@
<h1 class="[ member-list__heading ]">{{ pageHeading }}</h1> <h1 class="[ member-list__heading ]">{{ pageHeading }}</h1>
<ul class="post-filter"> <ul class="post-filter">
<li> <li>
<a href="/posts">Tout</a> <a href="/posts/">Tout</a>
</li> </li>
<li> <li>
<a href="/posts-news">Actualités</a> <a href="/posts-news/">Actualités</a>
</li> </li>
<li class="active"> <li class="active">
<a href="/posts-events">Évènements</a> <a href="/posts-events/">Évènements</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -8,13 +8,13 @@
<h1 class="[ member-list__heading ]">{{ pageHeading }}</h1> <h1 class="[ member-list__heading ]">{{ pageHeading }}</h1>
<ul class="post-filter"> <ul class="post-filter">
<li> <li>
<a href="/posts">Tout</a> <a href="/posts/">Tout</a>
</li> </li>
<li class="active"> <li class="active">
<a href="/posts-news">Actualités</a> <a href="/posts-news/">Actualités</a>
</li> </li>
<li> <li>
<a href="/posts-events">Évènements</a> <a href="/posts-events/">Évènements</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -8,13 +8,13 @@
<h1 class="[ member-list__heading ]">{{ pageHeading }}</h1> <h1 class="[ member-list__heading ]">{{ pageHeading }}</h1>
<ul class="post-filter"> <ul class="post-filter">
<li class="active"> <li class="active">
<a href="/posts">Tout</a> <a href="/posts/">Tout</a>
</li> </li>
<li> <li>
<a href="/posts-news">Actualités</a> <a href="/posts-news/">Actualités</a>
</li> </li>
<li> <li>
<a href="/posts-events">Évènements</a> <a href="/posts-events/">Évènements</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -13,7 +13,7 @@
</div> </div>
<ul class="tag-list mt-3" id="tagList"> <ul class="tag-list mt-3" id="tagList">
{% for skill in collections.skillsList %} {% for skill in collections.skillsList %}
<li class="tag-item visually-hidden"><a href="/equipe/{{ skill }}">{{ skill }}</a></li> <li class="tag-item visually-hidden"><a href="/equipe/{{ skill }}/">{{ skill }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>

View File

@ -3,11 +3,11 @@
<h1 class="[ intro__heading ]">{{ brandHeading }}</h1> <h1 class="[ intro__heading ]">{{ brandHeading }}</h1>
<svg viewBox="0 0 127 237" width="100%" height="100%" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M116.77 20.74c-.472-1.843-2.433-5.326-6.48-5.326h-4.283C105.395 6.814 98.249 0 89.533 0c-9.116 0-16.534 7.448-16.534 16.605v20.597L10.073 61.124a2.422 2.422 0 00-1.403 3.124c6.302 16.578 22.13 26.795 38.897 26.795 2.778 0 5.582-.315 8.375-.895 2.026.425 4.09.704 6.169.824v21.449a2.422 2.422 0 104.842 0V90.962a41.398 41.398 0 006.046-.8v22.259a2.422 2.422 0 104.843 0v-23.59c16.39-5.573 28.22-21.102 28.22-39.352V20.256h4.228c1.262 0 1.737 1.513 1.793 1.708a2.425 2.425 0 002.94 1.723 2.424 2.424 0 001.747-2.948zM32.478 82.973c-8.206-3.684-14.61-10.117-18.31-18.225l62.113-23.615c.013-.004.023-.013.034-.017.09-.036.173-.083.257-.128.058-.032.119-.058.174-.093.066-.044.124-.096.186-.146.06-.05.127-.095.184-.151.05-.05.092-.109.138-.162.054-.063.112-.124.159-.192.043-.065.077-.136.116-.203.037-.067.079-.131.11-.202.03-.07.05-.146.074-.22.024-.076.053-.15.07-.229.015-.065.019-.132.028-.199.013-.093.028-.187.03-.282l.003-.039V16.605c0-6.485 5.245-11.762 11.69-11.762 6.416 0 11.637 5.226 11.687 11.667v30.547H86.663a2.421 2.421 0 00-2.422 2.422c0 .023.007.043.007.068-.033 15.12-9.538 28.88-23.678 34.255-9.166 3.483-19.144 3.192-28.092-.828zm34.639 3.12c12.614-6.78 21.023-19.79 21.88-34.194h12.133c-1.194 18.255-15.785 32.903-34.013 34.195z" fill="#1E1E1E"/><path d="M89.53 20.256h4.464a2.421 2.421 0 100-4.842h-4.463a2.421 2.421 0 100 4.842zM123.897 194.561h-4.496V114.15a2.241 2.241 0 00-2.248-2.233H6.994c-1.24 0-2.248 1-2.248 2.233v80.411H2.498a2.242 2.242 0 00-2.248 2.234v37.971A2.242 2.242 0 002.498 237h121.399a2.243 2.243 0 002.249-2.234v-37.971a2.243 2.243 0 00-2.249-2.234zM9.243 116.384h105.662v78.177H9.243v-78.177zm112.406 116.149H4.746v-33.505H121.65v33.505z" fill="#1E1E1E"/><path d="M103.663 125.318h-83.18a2.242 2.242 0 00-2.249 2.234v55.841a2.241 2.241 0 002.248 2.233h83.181c1.241 0 2.248-1 2.248-2.233v-55.841a2.242 2.242 0 00-2.248-2.234zm-2.248 55.841H22.73v-51.373h78.685v51.373zM114.904 206.846h-13.488a2.242 2.242 0 00-2.248 2.234v13.401a2.242 2.242 0 002.248 2.234h13.488a2.243 2.243 0 002.249-2.234V209.08a2.243 2.243 0 00-2.249-2.234zm-2.248 13.402h-8.992v-8.935h8.992v8.935zM92.423 206.846h-13.49a2.242 2.242 0 00-2.247 2.234v13.401a2.242 2.242 0 002.248 2.234h13.489a2.242 2.242 0 002.248-2.234V209.08a2.242 2.242 0 00-2.248-2.234zm-2.248 13.402h-8.993v-8.935h8.993v8.935z" fill="#1E1E1E"/><path d="M78.934 134.253H27.227v4.467h51.707v-4.467zM63.197 143.187h-35.97v4.468h35.97v-4.468zM45.212 152.122H27.227v4.467h17.985v-4.467zM58.7 152.122h-8.993v4.467h8.992v-4.467z" fill="#111"/></svg> <svg viewBox="0 0 127 237" width="100%" height="100%" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M116.77 20.74c-.472-1.843-2.433-5.326-6.48-5.326h-4.283C105.395 6.814 98.249 0 89.533 0c-9.116 0-16.534 7.448-16.534 16.605v20.597L10.073 61.124a2.422 2.422 0 00-1.403 3.124c6.302 16.578 22.13 26.795 38.897 26.795 2.778 0 5.582-.315 8.375-.895 2.026.425 4.09.704 6.169.824v21.449a2.422 2.422 0 104.842 0V90.962a41.398 41.398 0 006.046-.8v22.259a2.422 2.422 0 104.843 0v-23.59c16.39-5.573 28.22-21.102 28.22-39.352V20.256h4.228c1.262 0 1.737 1.513 1.793 1.708a2.425 2.425 0 002.94 1.723 2.424 2.424 0 001.747-2.948zM32.478 82.973c-8.206-3.684-14.61-10.117-18.31-18.225l62.113-23.615c.013-.004.023-.013.034-.017.09-.036.173-.083.257-.128.058-.032.119-.058.174-.093.066-.044.124-.096.186-.146.06-.05.127-.095.184-.151.05-.05.092-.109.138-.162.054-.063.112-.124.159-.192.043-.065.077-.136.116-.203.037-.067.079-.131.11-.202.03-.07.05-.146.074-.22.024-.076.053-.15.07-.229.015-.065.019-.132.028-.199.013-.093.028-.187.03-.282l.003-.039V16.605c0-6.485 5.245-11.762 11.69-11.762 6.416 0 11.637 5.226 11.687 11.667v30.547H86.663a2.421 2.421 0 00-2.422 2.422c0 .023.007.043.007.068-.033 15.12-9.538 28.88-23.678 34.255-9.166 3.483-19.144 3.192-28.092-.828zm34.639 3.12c12.614-6.78 21.023-19.79 21.88-34.194h12.133c-1.194 18.255-15.785 32.903-34.013 34.195z" fill="#1E1E1E"/><path d="M89.53 20.256h4.464a2.421 2.421 0 100-4.842h-4.463a2.421 2.421 0 100 4.842zM123.897 194.561h-4.496V114.15a2.241 2.241 0 00-2.248-2.233H6.994c-1.24 0-2.248 1-2.248 2.233v80.411H2.498a2.242 2.242 0 00-2.248 2.234v37.971A2.242 2.242 0 002.498 237h121.399a2.243 2.243 0 002.249-2.234v-37.971a2.243 2.243 0 00-2.249-2.234zM9.243 116.384h105.662v78.177H9.243v-78.177zm112.406 116.149H4.746v-33.505H121.65v33.505z" fill="#1E1E1E"/><path d="M103.663 125.318h-83.18a2.242 2.242 0 00-2.249 2.234v55.841a2.241 2.241 0 002.248 2.233h83.181c1.241 0 2.248-1 2.248-2.233v-55.841a2.242 2.242 0 00-2.248-2.234zm-2.248 55.841H22.73v-51.373h78.685v51.373zM114.904 206.846h-13.488a2.242 2.242 0 00-2.248 2.234v13.401a2.242 2.242 0 002.248 2.234h13.488a2.243 2.243 0 002.249-2.234V209.08a2.243 2.243 0 00-2.249-2.234zm-2.248 13.402h-8.992v-8.935h8.992v8.935zM92.423 206.846h-13.49a2.242 2.242 0 00-2.247 2.234v13.401a2.242 2.242 0 002.248 2.234h13.489a2.242 2.242 0 002.248-2.234V209.08a2.242 2.242 0 00-2.248-2.234zm-2.248 13.402h-8.993v-8.935h8.993v8.935z" fill="#1E1E1E"/><path d="M78.934 134.253H27.227v4.467h51.707v-4.467zM63.197 143.187h-35.97v4.468h35.97v-4.468zM45.212 152.122H27.227v4.467h17.985v-4.467zM58.7 152.122h-8.993v4.467h8.992v-4.467z" fill="#111"/></svg>
<div class="btn-grp"> <div class="btn-grp">
<a role="button" href="/comprendre-la-cae" class="btn btn-secondary">Une CAE c'est quoi ?</a> <a role="button" href="/comprendre-la-cae/" class="btn btn-secondary">Une CAE c'est quoi ?</a>
<a role="button" href="/nous-rejoindre" class="btn btn-primary">Nous rejoindre <a role="button" href="/nous-rejoindre/" class="btn btn-primary">Nous rejoindre
<svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#111"/></svg> <svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#111"/></svg>
</a> </a>
<a role="button" href="/posts/flyer-2023" class="btn btn-secondary">Notre flyer 📄</a> <a role="button" href="/posts/flyer-2023/" class="btn btn-secondary">Notre flyer 📄</a>
</div> </div>
</div> </div>
</header> </header>

View File

@ -30,7 +30,7 @@
var members = {{ collections.membersLocations | dump | safe }}; var members = {{ collections.membersLocations | dump | safe }};
var markerGroup = members.map( member => { var markerGroup = members.map( member => {
return new L.marker(member.location, {icon: iconMarker}).bindPopup('<a href="'+member.url+'">'+member.name+'</a>'); return new L.marker(member.location, {icon: iconMarker}).bindPopup('<a href="'+member.url+'/">'+member.name+'</a>');
}); });
var markerSiege = L.marker([48.10494125597395, -1.6795760019626425], {icon: iconMarkerAlt}).bindPopup('Siège Astrolabe CAE') var markerSiege = L.marker([48.10494125597395, -1.6795760019626425], {icon: iconMarkerAlt}).bindPopup('Siège Astrolabe CAE')

View File

@ -4,7 +4,7 @@
<ol class="[ member-list__items ]" reversed> <ol class="[ member-list__items ]" reversed>
{% for item in teamListItems %} {% for item in teamListItems %}
<li class="member-list__item"> <li class="member-list__item">
<a href="{{ item.data.url }}" class=""> <a href="{{ item.data.url }}/" class="">
<img src=" {{ item.data.profile }}" alt="photo de {{ item.data.name }}"> <img src=" {{ item.data.profile }}" alt="photo de {{ item.data.name }}">
<span class="member-name btn btn-primary">{{ item.data.name }}</span> <span class="member-name btn btn-primary">{{ item.data.name }}</span>
</a> </a>

View File

@ -4,7 +4,7 @@
<ol class="[ member-list__items ]" reversed> <ol class="[ member-list__items ]" reversed>
{% for item in teamListItems %} {% for item in teamListItems %}
<li class="member-list__item"> <li class="member-list__item">
<a href="{{ item.data.url }}" class=""> <a href="{{ item.data.url }}/" class="">
<img src=" {{ item.data.profile }}" alt="photo de {{ item.data.name }}"> <img src=" {{ item.data.profile }}" alt="photo de {{ item.data.name }}">
<span class="member-name btn btn-primary">{{ item.data.name }}</span> <span class="member-name btn btn-primary">{{ item.data.name }}</span>
</a> </a>
@ -16,7 +16,7 @@
{% endfor %} {% endfor %}
<li class="member-list__item info"> <li class="member-list__item info">
<p>Vous êtes porteur dun projet entrepreneurial en numérique et nouvelles technologies ?</p> <p>Vous êtes porteur dun projet entrepreneurial en numérique et nouvelles technologies ?</p>
<a role="button" href="/nous-rejoindre" class="btn btn-secondary">Rejoignez-nous</a> <a role="button" href="/nous-rejoindre/" class="btn btn-secondary">Rejoignez-nous</a>
</li> </li>
</ol> </ol>
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
<div class="news-list__inner"> <div class="news-list__inner">
<h2 class="[ news-list__heading ]">{{ newsListHeading }}</h2> <h2 class="[ news-list__heading ]">{{ newsListHeading }}</h2>
{% include "partials/components/posts-list.njk" %} {% include "partials/components/posts-list.njk" %}
<a href="/posts" class="return-link">Voir tout</a> <a href="/posts/" class="return-link">Voir tout</a>
</div> </div>
</div> </div>
</section> </section>

View File

@ -14,7 +14,7 @@
{# <figure> #} {# <figure> #}
<img src="/images/crew-join.svg" alt="équipage astrolabe" loading="lazy" style="width: 22rem;"> <img src="/images/crew-join.svg" alt="équipage astrolabe" loading="lazy" style="width: 22rem;">
{# </figure> #} {# </figure> #}
<a role="button" href="/nous-rejoindre" class="btn btn-primary">Nous rejoindre <a role="button" href="/nous-rejoindre/" class="btn btn-primary">Nous rejoindre
<svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#111"></path></svg> <svg width="18" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.602 5.823L12.05.376a1.357 1.357 0 00-1.875 0 1.295 1.295 0 000 1.84l3.278 3.235H1.326C.587 5.451 0 6.027 0 6.752s.587 1.302 1.326 1.302h12.127l-3.278 3.215a1.295 1.295 0 000 1.84 1.349 1.349 0 001.894 0l5.533-5.427c.246-.242.398-.576.398-.93 0-.353-.133-.687-.398-.93z" fill="#111"></path></svg>
</a> </a>
</div> </div>
@ -47,13 +47,13 @@
<ul class="profile-preview"> <ul class="profile-preview">
{% for profile in profilePics %} {% for profile in profilePics %}
<li> <li>
<a href="{{ profile.data.url }}" title="{{ profile.data.name }}"> <a href="{{ profile.data.url }}/" title="{{ profile.data.name }}">
<img src="{{ profile.data.profile }}" alt="photo de {{ profile.data.name }}"> <img src="{{ profile.data.profile }}" alt="photo de {{ profile.data.name }}">
</a> </a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<a role="button" href="/equipe" class="btn btn-primary">Voir l'équipe</a> <a role="button" href="/equipe/" class="btn btn-primary">Voir l'équipe</a>
</div> </div>
</article> </article>
</div> </div>

View File

@ -10,8 +10,8 @@
</p> </p>
</div> </div>
<div class=""> <div class="">
<h3><a class="footer-link" href="{{site.url}}/mentions-legales" title="Mentions légales">Mentions légales</a></h3> <h3><a class="footer-link" href="{{site.url}}/mentions-legales/" title="Mentions légales">Mentions légales</a></h3>
<p><a class="footer-link" href="{{site.url}}/rgpd" title="Protection des données">Protection des données</a></p> <p><a class="footer-link" href="{{site.url}}/rgpd/" title="Protection des données">Protection des données</a></p>
</div> </div>
<div class=""> <div class="">
<h3>Contact</h3> <h3>Contact</h3>

View File

@ -5,7 +5,16 @@ positionInternal: 'Membre'
date: '2023-07-01' date: '2023-07-01'
profile: '/images/profiles/gm-profile.jpg' profile: '/images/profiles/gm-profile.jpg'
url: '/members/gautier-moreau' url: '/members/gautier-moreau'
tags: [Circuits courts de l'énergie, Smart grids, Organisation-légal, Technique, Economique, Système énergétique /(électricité et gaz)/, Réseau de distribution d'énergie] tags:
[
Circuits courts énergie,
Smart grids,
Organisation-légal,
Technique,
Economique,
Système énergétique (électricité et gaz),
Réseau de distribution énergie,
]
location: [47.6586, -2.7585] location: [47.6586, -2.7585]
--- ---

View File

@ -1,3 +1,5 @@
Sitemap: https://www.astrolabe.coop/sitemap.xml
User-agent: * User-agent: *
Disallow: /fonts/ Disallow: /fonts/
Disallow: /form/ Disallow: /form/

13
src/sitemap.njk Normal file
View File

@ -0,0 +1,13 @@
---
permalink: /sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.all %}
<url>
<loc>{{ site.url }}{{ page.url | url }}</loc>
<lastmod>{{ page.date.toISOString() }}</lastmod>
</url>
{% endfor %}
</urlset>

View File

@ -25,12 +25,12 @@ permalink: /equipe/{{ tag }}/
<div class="[ box-flex align-center fw-400 ]"> <div class="[ box-flex align-center fw-400 ]">
<h2>Profils avec le mot-clé : </h2> <h2>Profils avec le mot-clé : </h2>
<span class="tag-item ml-1">{{ tag }}</span> <span class="tag-item ml-1">{{ tag }}</span>
<a class="ml-1 link fw-600" href="/equipe">tout</a></h2> <a class="ml-1 link fw-600" href="/equipe/">tout</a></h2>
</div> </div>
</div> </div>
{% include "partials/components/member-list-simple.njk" %} {% include "partials/components/member-list-simple.njk" %}
<div class="wrapper box-flex justify-end"> <div class="wrapper box-flex justify-end">
<a class="return-link" href="/equipe">Voir tous les membres</a> <a class="return-link" href="/equipe/">Voir tous les membres</a>
</div> </div>
{% include "partials/components/map.njk" %} {% include "partials/components/map.njk" %}
{% include "partials/components/contact-form.njk" %} {% include "partials/components/contact-form.njk" %}