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

@@ -1,14 +1,9 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Hatmos</title>
<meta name="viewport" content="device-width, initial-scale=1">
<meta name="description" content="Site portefolio de mes objectifs de vie et mes accomplissements">
<link rel="stylesheet" href="{{get_url(path='style.css')}}">
<link rel="icon" type="image/png" href="{{get_url(path='favicon.png')}}">
</head>
{% block head %} {% endblock head %}
<body>
<header>
<h1><a class="home" href="https://www.hatmos.xyz/">Le site de Hatmos</a></h1>

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 %}