Skip to content

Commit 3a19d92

Browse files
committed
Revert "fix docs: home heading and remove title marker"
This reverts commit ae5f975.
1 parent ae5f975 commit 3a19d92

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/content/docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: CoreClaw is dedicated to providing efficient, stable, and scalable
44
template: splash
55
---
66

7+
<span class="hide-starlight-title"></span>
8+
79
<div class="breadcrumb-home">
810
<a href="https://coreclaw.com" class="breadcrumb-home-link">Home</a>
911
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="m9 18 6-6-6-6"/></svg>

src/content/docs/zh-cn/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: CoreClaw 致力于为不同背景和技术能力的用户提供高
44
template: splash
55
---
66

7+
<span class="hide-starlight-title"></span>
8+
79
<div class="breadcrumb-home">
810
<a href="https://coreclaw.com" class="breadcrumb-home-link">首页</a>
911
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="m9 18 6-6-6-6"/></svg>

src/styles/common.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,9 @@ summary:focus-visible {
17261726
Hide Starlight auto title on splash pages
17271727
======================================== */
17281728

1729+
.sl-markdown-content:has(.hide-starlight-title) > h1#_top:first-child {
1730+
display: none;
1731+
}
17291732
.company-footer {
17301733
text-align: center;
17311734
padding: 48px 24px 32px;

0 commit comments

Comments
 (0)