correction des erreurs de syntaxe pour zola

This commit is contained in:
2026-03-07 15:12:20 +01:00
parent e7f9cd88e2
commit 23b6ca69c9
2 changed files with 22 additions and 27 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
<head>
{% block head %} {% endblock head %} {% include "partials/head.html" %}
</head>
<body> <body>
<header> <header>
<h1><a class="home" href="https://www.hatmos.xyz/">Le site de Hatmos</a></h1> <h1><a class="home" href="https://www.hatmos.xyz/">Le site de Hatmos</a></h1>

View File

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