diff --git a/showcase.json b/showcase.json
index 1a3480ee..4bea7e71 100644
--- a/showcase.json
+++ b/showcase.json
@@ -56,5 +56,6 @@
"henryq",
"duoyu",
"candinya",
- "shang"
+ "shang",
+ "v1984"
]
diff --git a/src/components/site/SiteHome.tsx b/src/components/site/SiteHome.tsx
index 58ec7a2c..4fbfe821 100644
--- a/src/components/site/SiteHome.tsx
+++ b/src/components/site/SiteHome.tsx
@@ -81,7 +81,7 @@ export const SiteHome: React.FC<{
, Root> =
- ({ env }) =>
- (tree) => {
- for (const node of tree.children) {
- if (node.type === "paragraph") {
- env.excerpt = mdAstToString(node, {
- includeImageAlt: false,
- }).slice(0, 140)
- if (env.excerpt) {
- break
- }
- }
- }
- }
diff --git a/tailwind.config.js b/tailwind.config.js
index 59150367..75d59bb3 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -22,5 +22,5 @@ module.exports = {
},
},
variants: {},
- plugins: [],
+ plugins: [require("@tailwindcss/line-clamp")],
}