| 12345678910111213141516171819202122232425262728293031323334353637 |
- {% comment %}
- Template pour les métadonnées SEO
- À inclure dans la section <head> des pages d'articles
- {% endcomment %}
- {% if page.canonical_url %}
- <!-- URL Canonical pour éviter le duplicate content -->
- <link rel="canonical" href="{{ page.canonical_url }}" />
- {% endif %}
- {% if page.og_tags %}
- <!-- Open Graph pour Facebook et LinkedIn -->
- {% for key, value in page.og_tags.items %}
- <meta property="{{ key }}" content="{{ value }}" />
- {% endfor %}
- {% endif %}
- {% if page.twitter_cards %}
- <!-- Twitter Cards -->
- {% for key, value in page.twitter_cards.items %}
- <meta name="{{ key }}" content="{{ value }}" />
- {% endfor %}
- {% endif %}
- {% if page.article_schema %}
- <!-- Schema.org JSON-LD pour l'article -->
- <script type="application/ld+json">
- {{ page.article_schema|safe }}
- </script>
- {% endif %}
- {% if page.breadcrumb_schema %}
- <!-- Schema.org JSON-LD pour le fil d'Ariane -->
- <script type="application/ld+json">
- {{ page.breadcrumb_schema|safe }}
- </script>
- {% endif %}
|