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>
<html lang="fr">
{% block head %} {% endblock head %}
<head>
{% include "partials/head.html" %}
</head>
<body>
<header>
<h1><a class="home" href="https://www.hatmos.xyz/">Le site de Hatmos</a></h1>

View File

@@ -1,27 +1,22 @@
{% 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">
<meta charset="UTF-8">
<title>
{% if page %}
<meta name="description" content="{{page.description}}">
{{page.title}}
{% elif section %}
<meta name="description" content="{{section.description}}">
{{section.title}}
{% else %}
{{config.title}}
{% 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')}}">
</head>
{% endblock head %}
</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(path='style.css')}}">
<link rel="icon" type="image/png" href="{{get_url(path='favicon.png')}}">