Add user theme in list articles

This commit is contained in:
2025-12-22 01:57:28 +01:00
parent 89400555ed
commit 3266b02be7
3 changed files with 10 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
<html>
<head>
<title> Le Blog du serveur </title>
<link rel="stylesheet" href="/static/{{author}}/blog.css" type="text/css">
<link rel="stylesheet" href="/{{author}}/blog.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
@@ -17,7 +17,7 @@
<div class="articles">
{% for post in posts %}
<h2 class="index"><a href="/blog/{author}}/{{post.title}}"> {{ post.title }}</a></h2>
<h2 class="index"><a href="/blog/{{ post.status }}/{{author}}/{{post.title}}"> {{ post.title }}</a></h2>
<small>
<time datetime="{{ post.time }}">
Publié le {{ post.creation_date }}