Recent Posts
-
-
- - 안전한 프론트엔드 서비스란? - 2024-06-22 - + {recentPosts.map((post) => ( +
- + {post.title} + {post.date} + + ))}
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index f0db0c2..cd75b92 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -23,9 +23,11 @@ const config: Config = {
locales: ['en'],
},
+ plugins: ['./src/plugins/recent-post'],
+
presets: [
[
- 'classic',
+ '@docusaurus/preset-classic',
{
docs: {
sidebarPath: './sidebars.ts',
@@ -42,6 +44,8 @@ const config: Config = {
],
],
+ customFields: {},
+
themeConfig: {
colorMode: {
defaultMode: 'dark',
diff --git a/package.json b/package.json
index 16c9679..0a8ab0b 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "blog",
+ "name": "wanderedtola.blog",
"version": "0.0.0",
"private": true,
"scripts": {
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 5b054bc..23e091e 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,10 +1,12 @@
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
+import { usePluginData } from '@docusaurus/useGlobalData';
import Layout from '@theme/Layout';
import Heading from '@theme/Heading';
import Link from '@docusaurus/Link';
export default function Home() {
const { siteConfig } = useDocusaurusContext();
+ const { recentPosts }: any = usePluginData('docusaurus-plugin-recent-posts');
return (
공부하며 새로 알게된 정보들은 이곳에 정리하거나
- 따로 모아 관리하고
+ 따로 모아 관리하고
WebAssembly기반의 웹 생태계를 주목하고 있습니다.