Skip to content

Commit 4a43f70

Browse files
committed
fix: add article component space
1 parent f7f4fae commit 4a43f70

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

layouts/index.shtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
<link type="text/css" rel="stylesheet" href="$site.asset('index.css').link()">
44
</head>
55
<body id="body">
6-
<div class="content" :html="$page.content()"></div>
6+
<article>
7+
<div class="content" :html="$page.content()"></div>
8+
</article>
79
</body>

layouts/learn.shtml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<h1>Table of Contents</h1>
88
<div :html="$page.toc()"></div>
99
</div>
10-
<div :html="$page.content()"></div>
10+
<article>
11+
<div :html="$page.content()"></div>
12+
</article>
1113
<div id="prev-next" :if="$page.isSection().not()">
1214
<div :if="$page.prevPage?()">
1315
<a href="$if.link()">
@@ -20,4 +22,4 @@
2022
</a>
2123
</div>
2224
</div>
23-
</body>
25+
</body>

layouts/monthly.shtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<head id="head">
33
</head>
44
<body id="body">
5-
<div :html="$page.content()"></div>
5+
<article>
6+
<div :html="$page.content()"></div>
7+
</article>
68
</body>

layouts/page.shtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<head id="head">
33
</head>
44
<body id="body">
5-
<div :html="$page.content()"></div>
5+
<article>
6+
<div :html="$page.content()"></div>
7+
</article>
68
</body>

layouts/post.shtml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
</ctx>
1515
</head>
1616
<body id="body">
17-
<div :html="$page.content()"></div>
18-
</body>
17+
<article>
18+
<div :html="$page.content()"></div>
19+
</article>
20+
</body>

0 commit comments

Comments
 (0)