Fix bugs for blog theme
This commit is contained in:
parent
0803124c14
commit
4f89b16a1c
@ -2,7 +2,7 @@
|
||||
|
||||
:root
|
||||
{
|
||||
--color-text: #d2b123;
|
||||
--color-text: #e9d43a;
|
||||
--color-background: #1e227b;
|
||||
}
|
||||
|
||||
|
||||
@ -2,11 +2,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> Article de {{ post_info.author }} </title>
|
||||
<link rel="stylesheet" href="/static/blog.css" type="text/css">
|
||||
|
||||
<link rel="stylesheet" href="/{{ post_info.author }}/blog.css" type="text/css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
<div class="articles">
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> Article de {{ post_info.author }} </title>
|
||||
<link rel="stylesheet" href="/static/{{ post_info.author}}/blog.css" type="text/css">
|
||||
<link rel="stylesheet" href="/{{ post_info.author}}/blog.css" type="text/css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
@ -135,7 +135,7 @@ def personnalize_blog():
|
||||
f = request.files['personnal-blog-theme']
|
||||
|
||||
blog_theme = str(request.form['blog-theme'])
|
||||
|
||||
print(blog_theme)
|
||||
|
||||
if blog_theme != "Default":
|
||||
copy( "static/blog-"+blog_theme+".css",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user