change blog title into left
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
<body>
|
||||
<!-- 添加样式使整个页面内容居中显示 -->
|
||||
<div style="max-width: 800px; margin: 0 auto; padding: 0 20px;">
|
||||
<!-- 添加网站标题 -->
|
||||
<h1 style="text-align: left;">六桂流芳的com</h1>
|
||||
<h1 style="text-align: center;">{{ post.title }}</h1>
|
||||
<!-- 将返回首页链接放在发布时间的右侧 -->
|
||||
<div style="display: flex; align-items: center; justify-content: space-between;">
|
||||
@@ -22,4 +24,3 @@
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<title>六桂流芳的com</title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 添加样式使整个页面内容居中显示 -->
|
||||
<div style="max-width: 800px; margin: 0 auto; padding: 0 20px; text-align: center;">
|
||||
<h1>六桂流芳的com</h1>
|
||||
<!-- 修改样式使页面内容靠左对齐,标题显示在左上角 -->
|
||||
<div style="max-width: 800px; margin: 0 auto; padding: 0 20px; text-align: left;">
|
||||
<h1 style="text-align: left;">六桂流芳的com</h1>
|
||||
<ul style="list-style: none; padding: 0;">
|
||||
{% for post in posts %}
|
||||
<li style="margin: 10px 0; text-align: left;">
|
||||
|
||||
Reference in New Issue
Block a user