修改主页,感觉还可以
This commit is contained in:
19
templates/blog/posts.html
Executable file
19
templates/blog/posts.html
Executable file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ posts['title'] }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="../">返回上级</a>
|
||||
<br>
|
||||
<h1>{{ posts['title'] }}</h1>
|
||||
<br>
|
||||
<br>
|
||||
{{ posts['content'].replace('&a&a','<style>a{text-decoration: none;}</style>') | safe}}
|
||||
</body>
|
||||
</html>
|
||||
<style>
|
||||
body {
|
||||
background-color: rgb(175, 223, 255);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user