Add user theme in list articles
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user