diff --git a/assets/scss/_page.scss b/assets/scss/_page.scss index b94f6f3c..3ad26431 100644 --- a/assets/scss/_page.scss +++ b/assets/scss/_page.scss @@ -3,9 +3,15 @@ } .page { + // `type: page` content mounts directly inside `.td-main` (no
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 { diff --git a/content/en/community.md b/content/en/community.md index 305bdf6d..8f26b6e3 100644 --- a/content/en/community.md +++ b/content/en/community.md @@ -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 diff --git a/layouts/page/list.html b/layouts/page/list.html new file mode 100644 index 00000000..cb1d246f --- /dev/null +++ b/layouts/page/list.html @@ -0,0 +1,10 @@ +{{ define "main" }} + + +
+{{ partial "version-banner.html" . }} +{{ with .Title }}

{{ . }}

{{ end }} +{{ .Content }} +
+ +{{ end }} diff --git a/layouts/page/single.html b/layouts/page/single.html index 9e62bd1c..cb1d246f 100644 --- a/layouts/page/single.html +++ b/layouts/page/single.html @@ -3,6 +3,7 @@
{{ partial "version-banner.html" . }} +{{ with .Title }}

{{ . }}

{{ end }} {{ .Content }}