Skip to content

Commit 8ad6c83

Browse files
committed
fix: hide date display on the index page
1 parent faddb0c commit 8ad6c83

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Welcome to Cryptography SecondBrain
33
---
4-
Welcome to Cryptography SecondBrain. This is a comprehensive wiki covering a wide range of cryptographic topics from basic algebra to various Privacy Enhancing Technologies (PET). For newcomers, please refer to [[How to get started]] to learn how to use this wiki for your studies.
4+
# Welcome to Cryptography SecondBrain!
5+
This is a comprehensive wiki covering a wide range of cryptographic topics from basic algebra to various Privacy Enhancing Technologies (PET). For newcomers, please refer to [[How to get started]] to learn how to use this wiki for your studies.
56

67
Cryptography SecondBrain is an open-source project maintained by Decipher. If you have an interest in cryptography, we encourage you to contribute and share your knowledge. For more details on how to get involved, please refer to our [[Contribution Guide]].
78

quartz/components/renderPage.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,8 @@ export function renderPage(
226226
))}
227227
</Header>
228228
<div class="popover-hint">
229-
{beforeBody.map((BodyComponent) => (
230-
<BodyComponent {...componentData} />
231-
))}
229+
{slug !== "index" &&
230+
beforeBody.map((BodyComponent) => <BodyComponent {...componentData} />)}
232231
</div>
233232
</div>
234233
<Content {...componentData} />

0 commit comments

Comments
 (0)