33 lines
735 B
HTML
Executable File
33 lines
735 B
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{ posts['title'] }}</title>
|
|
</head>
|
|
<body>
|
|
<a href="/blog">返回主页</a>
|
|
<br>
|
|
<h1>{{ posts['title'] }}</h1>
|
|
<br>
|
|
<br>
|
|
{{ posts['content'].replace('&a&a','<style>a{text-decoration: none;}</style>') | safe}}
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<h2>留言区: </h2>
|
|
{% for message in message %}
|
|
[ {{ message['name'] }} ] >$
|
|
{{ message['content'] }}<br>
|
|
{{ message['date'] }}
|
|
<br>
|
|
<br>
|
|
{% endfor %}
|
|
</body>
|
|
</html>
|
|
<style>
|
|
body {
|
|
background-color: rgb(175, 223, 255);
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
</style> |