optimisation de SEO

This commit is contained in:
2026-03-07 14:57:29 +01:00
parent ad6b97ad5a
commit e86605b542
9 changed files with 51 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block head %}
<head>
<meta charset="UTF-8">
<title>
{% if page %}
{{page.title}}
{% elif section %}
{{section.title}}
{% else %}
{{config.title}}
{% endif %}
</title>
<meta name="viewport" content="device-width, initial-scale=1.0">
{% if page %}
<meta name="description" content="{{page.description}}">
{% elif section %}
<meta name="description" content="{{section.description}}">
{% endif %}
{% if page and page.extra.keywords %}
<meta name="keywords" content="{{page.extra.keywords | join(sep=', ')}}">
{% endif %}
<link rel="stylesheet" href="{{get_url='style.css'}}">
<link rel="icon" type="image/png" href="{{get_url(path='favicon.png')}}">
</head>
{% endblock head %}