From e86605b542f3dde1c690fe88aa9470f7335a6d92 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 7 Mar 2026 14:57:29 +0100 Subject: [PATCH] optimisation de SEO --- content/accomplissements/IMEMA.md | 4 ++++ content/accomplissements/_index.md | 1 + content/cv/CV.md | 5 +++++ content/objectifs/_index.md | 1 + content/objectifs/porsche-944.md | 4 ++++ content/objectifs/voicechat.md | 4 ++++ templates/base.html | 11 +++-------- templates/partials/head.html | 27 +++++++++++++++++++++++++++ zola.toml | 2 ++ 9 files changed, 51 insertions(+), 8 deletions(-) create mode 100644 templates/partials/head.html diff --git a/content/accomplissements/IMEMA.md b/content/accomplissements/IMEMA.md index a517d00..caaef8c 100644 --- a/content/accomplissements/IMEMA.md +++ b/content/accomplissements/IMEMA.md @@ -1,5 +1,9 @@ +++ title = "IMEMA" +description = "Interface Modbus pour l'Enregistrement des Mesures d'Automates" + +[extra] +keywords = ["IMEMA", "Modbus", "PLC", "Automate", "DB", "Hatmos", "hatmos"] +++ Interface Modbus pour l'Enregistrement des Mesures d'Automates diff --git a/content/accomplissements/_index.md b/content/accomplissements/_index.md index 98cc7c5..a4d2c78 100644 --- a/content/accomplissements/_index.md +++ b/content/accomplissements/_index.md @@ -1,5 +1,6 @@ +++ title = "Liste des Accomplissements" +description = "Liste " sort_by = "title" template = "accomplissements.html" page_template = "page.html" diff --git a/content/cv/CV.md b/content/cv/CV.md index c70fcd1..ff1d6fc 100644 --- a/content/cv/CV.md +++ b/content/cv/CV.md @@ -1,4 +1,9 @@ +++ +title = "CV Thomas LETELLIER" +description = "Curriculum Vitae de Thomas LETELLIER" + +[extra] +keywords = ["CV", "Thomas LETELLIER", "letellier", "Hatmos", "hatmos"] +++ # Thomas LETELLIER diff --git a/content/objectifs/_index.md b/content/objectifs/_index.md index 06fa2ec..d4d0099 100644 --- a/content/objectifs/_index.md +++ b/content/objectifs/_index.md @@ -1,5 +1,6 @@ +++ title = "Liste des Objectifs" +description = "Objectifs a atteindre de Hatmos" sort_by = "title" template = "objectifs.html" page_template = "page.html" diff --git a/content/objectifs/porsche-944.md b/content/objectifs/porsche-944.md index a5a2052..d908b62 100644 --- a/content/objectifs/porsche-944.md +++ b/content/objectifs/porsche-944.md @@ -1,5 +1,9 @@ +++ title = "Porsche 944" +description = "Objectifs de Voiture de reve" + +[extra] +keywords = ["porsche 944", "porsche", "dream car", "hatmos", "Hatmos"] +++ {{ image(src="/porsche-944-2-7.jpeg" ,alt="Porsche 944 2.7L 1989", width="1200px") }} diff --git a/content/objectifs/voicechat.md b/content/objectifs/voicechat.md index 1dee4b6..d4bb653 100644 --- a/content/objectifs/voicechat.md +++ b/content/objectifs/voicechat.md @@ -1,5 +1,9 @@ +++ title = "ConcordVC" +description = "Presentation de Concord le service de voice chat rapide et ephemere" + +[extra] +keywords = ["voice chat", "voice room", "hatmos", "Hatmos", "League of Legends"] +++ Concord Voice Chat est une application web qui a pour but de fournir un salon vocal sans friction, ephemere et freemium pour le plus grand nombre. diff --git a/templates/base.html b/templates/base.html index 65f9206..13d13c1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,14 +1,9 @@ - - - Hatmos - - - - - + +{% block head %} {% endblock head %} +

Le site de Hatmos

diff --git a/templates/partials/head.html b/templates/partials/head.html new file mode 100644 index 0000000..bfed957 --- /dev/null +++ b/templates/partials/head.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block head %} + + + + {% if page %} + {{page.title}} + {% elif section %} + {{section.title}} + {% else %} + {{config.title}} + {% endif %} + + + {% if page %} + + {% elif section %} + + {% endif %} + {% if page and page.extra.keywords %} + + {% endif %} + + + +{% endblock head %} diff --git a/zola.toml b/zola.toml index e9b8b28..2f54b44 100644 --- a/zola.toml +++ b/zola.toml @@ -1,6 +1,8 @@ # The URL the site will be built for base_url = "https://www.hatmos.xyz" +title = "Hatmos" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true