From 1cfc87652c0b4889ab62e1010da9d988f08c4cd1 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 02 Jun 2025 05:42:37 +0000
Subject: [PATCH] fix: tz-less date parse in local tz instead of utc (closes #1615)
---
docs/layout-components.md | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/docs/layout-components.md b/docs/layout-components.md
index 339ace8..09c2d76 100644
--- a/docs/layout-components.md
+++ b/docs/layout-components.md
@@ -81,4 +81,13 @@
})
```
-This example would only render the Search component when the page is not in fullpage mode.
+The example above would only render the Search component when the page is not in fullpage mode.
+
+```typescript
+Component.ConditionalRender({
+ component: Component.Breadcrumbs(),
+ condition: (page) => page.fileData.slug !== "index",
+})
+```
+
+The example above would hide breadcrumbs on the root `index.md` page.
--
Gitblit v1.10.0