File tree Expand file tree Collapse file tree 2 files changed +26
-9
lines changed Expand file tree Collapse file tree 2 files changed +26
-9
lines changed Original file line number Diff line number Diff line change 4
4
prose-a:text-blue-600 prose-p:text-justify prose-img:rounded-xl
5
5
prose-headings:underline" >
6
6
<slot />
7
- </div >
7
+ </div >
8
+ <!-- 用法: prose-[element]:class-to-apply 给所有的 <h1> 标签添加 font-bold 的 Tailwind 类。 -->
Original file line number Diff line number Diff line change @@ -49,21 +49,33 @@ const readTimeMin = Math.ceil(fontNum / MIN_READ_COUNT);
49
49
<p class =" read-time" ><em >{ readTimeMin } </em > 分钟 阅读</p >
50
50
</div >
51
51
</div >
52
-
53
- <Prose >
54
- <Content />
55
- </Prose >
52
+ <article id =" text" >
53
+ <Prose >
54
+ <Content />
55
+ </Prose >
56
+ </article >
57
+ <script
58
+ src =" https://giscus.app/client.js"
59
+ data-repo =" LingLambda/linglambda.github.io"
60
+ data-repo-id =" R_kgDOOOWNqQ"
61
+ data-category =" Announcements"
62
+ data-category-id =" DIC_kwDOOOWNqc4Co3Ed"
63
+ data-mapping =" pathname"
64
+ data-strict =" 0"
65
+ data-reactions-enabled =" 1"
66
+ data-emit-metadata =" 0"
67
+ data-input-position =" top"
68
+ data-theme =" preferred_color_scheme"
69
+ data-lang =" zh-CN"
70
+ crossorigin =" anonymous"
71
+ async ></script >
56
72
</BaseLayout >
57
73
58
74
<style >
59
75
em {
60
76
font-style: normal;
61
77
}
62
78
63
- .blog-head {
64
- padding-bottom: 50px;
65
- }
66
-
67
79
.blog-head > * {
68
80
line-height: 50px;
69
81
}
@@ -91,4 +103,8 @@ const readTimeMin = Math.ceil(fontNum / MIN_READ_COUNT);
91
103
.blog-head .other-info p {
92
104
color: #808080;
93
105
}
106
+
107
+ #text {
108
+ margin: 50px 0;
109
+ }
94
110
</style >
You can’t perform that action at this time.
0 commit comments