From 45c1c32514351884c372b8528550eb735d6e3c6b Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 3 Dec 2024 23:36:42 +0800 Subject: [PATCH] Add top blog --- README.md | 4 +++- src/content/posts/infinite-game/index.md | 23 ++++++++++++++------- src/content/posts/leibniz-theodicy/index.md | 4 ++-- src/utils/content-utils.ts | 1 + 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 373388ed9..0da06cc53 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,9 @@ A static blog template built with [Astro](https://astro.build). ### Top Blog -In [config](./src/config.ts), set the `topBlog` to the title of the desired top blog +One blog, such as [this one](https://leadership.qubitpi.org/posts/infinite-game/), can be set to always comes as the +first blog on the first page. To do so, set the `topBlog` to the title of the desired top blog in +[config](./src/config.ts) ## 🚀 How to Use diff --git a/src/content/posts/infinite-game/index.md b/src/content/posts/infinite-game/index.md index 87d471bde..0233114fe 100644 --- a/src/content/posts/infinite-game/index.md +++ b/src/content/posts/infinite-game/index.md @@ -1,23 +1,30 @@ --- title: Leadership is an Infinite-Game -published: 2024-12-02 -description: Ardeth Bay is my role model for a perfect leader. +published: 2024-12-03 +description: [Top Blog] Ardeth Bay is my role model for a perfect leader. image: cover.png tags: [Leadership] category: English draft: false --- -The cover image of my leadership blog is Ardeth Bay, a Medjai chieftain and warrior in the movie I watched few years -back called _The Mummy Returns_. +The cover image of my leadership blog is __Ardeth Bay__, a Medjai chieftain and warrior in the movie I watched few years +back - _The Mummy Returns_. -What captures my most subconsciously was after a dangerous yet successful battle against 4 enemy mummies on a 2-deck -British bus with O'Connell's family, Ardeth laid sat on one of the half-broken bus chair for a break. When Rick asked if -he's alright, he smiled genuinely and said +What captures me most subconsciously was a scene in a movie where Ardeth laid sat on one of the half-broken bus chair +for a break after a dangerous yet successful battle against 4 enemy mummies on a 2-deck British bus with O'Connell's +family when Rick asked if he's alright, he smiled genuinely and said -_"This was my first bus-ride"_. +_"This was my first bus-ride"_. (see the clip below) +There are lots of "typical" leaders who enjoys the countless power and wealth and yet there is a true leader who at his +adult age never had the experience of boarding a regular bus. + +For over 3000 years, Ardeth along with his Medjais, the descendents of royal secret bodyguards, kept on their duties on +safeguarding the eternal confinement of the ancient evil supernatural powers. As the leader of 12 tribles controlling +tens of thousands of worriors, Ardeth chooses to + There is no "end" for a leader. A leader is not someone who sits at the top enjoying champaign in a glorious golden house, but instead like Ardeth who hold his position, his integrity, and his faith somewhere in a place where he belongs, where he is fulfilling the oath of his ancestors duties and faith, and where he someday passes this glorious responsibility to his next generations and all the way to the infinite future. diff --git a/src/content/posts/leibniz-theodicy/index.md b/src/content/posts/leibniz-theodicy/index.md index d2bc562e5..05799492e 100644 --- a/src/content/posts/leibniz-theodicy/index.md +++ b/src/content/posts/leibniz-theodicy/index.md @@ -4,8 +4,8 @@ published: 2024-12-03 description: | Leibnizian idea of perfectibility made Germany so proliferate at contributing genius to the world (Book, The German Genius). His Philosophy guided German to constantly push themselves to the endless next levels of human perfection. - This I believe partially contributed the unbelievable warfare technologies during World War II, such as Tiger and King - Tiger + I believe this notion of perfectionism largely contributed to the unbelievable Geramn warfare technologies during + World War II, such as Tiger and KingTiger image: cover.png tags: [Philosophy] category: English diff --git a/src/utils/content-utils.ts b/src/utils/content-utils.ts index c5458ff91..04a9da3d7 100644 --- a/src/utils/content-utils.ts +++ b/src/utils/content-utils.ts @@ -25,6 +25,7 @@ export async function getSortedPosts(): Promise< return dateA > dateB ? -1 : 1 }, ) + sorted[0].data.title = "📌 " + sorted[0].data.title for (let i = 1; i < sorted.length; i++) { sorted[i].data.nextSlug = sorted[i - 1].slug