You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
813 B

{% load static %}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
h2 {
text-align: center;
}
.center {
display: flex;
align-items: center;
justify-content: center;
}
.info {
font-size: 20px;
font-weight: bold;
color: red;
}
</style>
</head>
<body>
<h2>blog欢迎界面</h2>
<div class="center">
<img src={% static 'images/apple.png' %}>
<ul>
{% for blog in blog_ %}
</ul>
</div>
</body>
</html>