-
+ {/* Author with REAL avatar */}
+
+
+ {/* Text */}
+
+ {post.content
+ ? post.content.replace(/<[^>]+>/g, "").slice(0, 200) +
+ "..."
+ : ""}
+
+ {/* Date */}
{post.pubDate
? new Date(post.pubDate).toLocaleDateString()
: ""}
- {/*
*/}
-
+ {/* Link */}
+
))}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index f30880d..a05c91d 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -5,6 +5,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import styles from "./index.module.css";
import logo from "../../static/img/logo.png";
import { TwitterFeed } from "../components/Twitter";
+import { MastodonFeed } from "../components/MastodonFeed";
import HomeNotes from "./_home.mdx";
function HomepageHeader() {
@@ -34,11 +35,12 @@ export default function Home(): JSX.Element {