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