Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions assets/scss/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
}

.page {
// `type: page` content mounts directly inside `.td-main` (no <main> wrapper),
// so Docsy's `.td-main main { padding-top }` navbar offset never applies and the
// top `margin-top` collapses to nothing — the heading ends up under the fixed
// navbar. Use padding-top (collapse-proof) to guarantee breathing room.
margin-top: 6rem;
padding-top: 2.5rem;
@include media-breakpoint-down(sm) {
margin-top: 2rem;
padding-top: 1.5rem;
}

a {
Expand Down
2 changes: 0 additions & 2 deletions content/en/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ type: "page"
weight: 20
---

# Community

Cozystack is a CNCF project built in the open. Everything below is public and open to anyone — you do not need to be a contributor, a customer, or an expert.

## Talk to us
Expand Down
10 changes: 10 additions & 0 deletions layouts/page/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{ define "main" }}

<a class="td-offset-anchor"></a>
<div class="page td-content container">
{{ partial "version-banner.html" . }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
{{ .Content }}
</div>

{{ end }}
1 change: 1 addition & 0 deletions layouts/page/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<a class="td-offset-anchor"></a>
<div class="page td-content container">
{{ partial "version-banner.html" . }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
{{ .Content }}
</div>

Expand Down
Loading