everything ready !

This commit is contained in:
Agahnim 2026-03-19 14:38:27 +01:00
parent d1a2e411df
commit 0f1820d783
7 changed files with 44 additions and 1 deletions

16
templates/base.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>{% block title %}Mon Site{% endblock %}</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
{% include "partials/header.html" %}
{% block content %}{% endblock %}
</body>
</html>

8
templates/index.html Normal file
View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block title %}Accueil{% endblock %}
{% block content %}
<h1>Bonjour</h1>
<p>Bienvenue sur mon site.</p>
{% endblock %}

View file

@ -0,0 +1,6 @@
<header>
<nav>
<a href="/">Accueil</a>
<a href="/blog">Blog</a>
</nav>
</header>