Ajout des fonctionnalités de blog : modèles, migrations, vues, templates, contexte et styles.

This commit is contained in:
mrtoine 2025-12-15 20:58:25 +01:00
parent 3e44013132
commit c1749068af
16 changed files with 245 additions and 9 deletions

17
templates/blog/home.html Normal file
View file

@ -0,0 +1,17 @@
{% extends 'layout.html' %}
{% block title %} | Blog{% endblock %}
{% block og_title %}Blog de Partir De Zéro{% endblock %}
{% block description %}{{ settings.blog_description }}{% endblock %}
{% block og_description %}{{ settings.blog_description }}{% endblock %}
{% block content %}
<section class="blog blog-home">
<header class="blog-header">
<h1 class="blog-title">{{ settings.blog_title|default:'Blog' }}</h1>
<p class="blog-description">{{ settings.blog_description }}</p>
</header>
<h2 class="sr-only">Liste des articles</h2>
{% include 'blog/partials/_posts_list.html' %}
</section>
{% endblock %}