Skip to content

Commit

Permalink
Add top blog
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Dec 3, 2024
1 parent cb803e7 commit 5c0227c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/PostPage.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import { getPostUrlBySlug } from '@utils/url-utils'
import PostCard from './PostCard.astro'
import { siteConfig } from '../config'
const { page } = Astro.props
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const siteConfig: SiteConfig = {
url: 'https://youtu.be/DtKDPBqMu3o?t=7239' // (Optional) URL link to the original artwork or artist's page
}
},
topBlog: "Leadership is an Infinite-Game",
toc: {
enable: true, // Display the table of contents on the right side of the post
depth: 3 // Maximum heading depth to show in the table, from 1 to 3
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/infinite-game/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Leadership is an Infinite-Game
published: 2024-12-03
published: 2024-12-02
description: Ardeth Bay is my role model for a perfect leader.
image: cover.png
tags: [Leadership]
Expand Down
1 change: 1 addition & 0 deletions src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type SiteConfig = {
url?: string
}
}
topBlog: string
toc: {
enable: boolean
depth: 1 | 2 | 3
Expand Down

0 comments on commit 5c0227c

Please sign in to comment.