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