first commit

This commit is contained in:
julien
2026-02-22 14:36:40 +01:00
commit ebcd2f007f
11 changed files with 319 additions and 0 deletions

21
views/layout.twig Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{% block title %}Mon Blog{% endblock %}</title>
<style>
body {font-family: Arial, sans-serif; margin: 2rem;}
.post {border-bottom: 1px solid #ccc; padding: 1rem 0;}
.admin-actions a,
.admin-actions form {margin-right: .5rem;}
</style>
</head>
<body>
<h1>
<a href="/">Mon Blog</a> |
<a href="/admin">Admin</a>
</h1>
{% block content %}{% endblock %}
</body>
</html>