mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-30 20:48:37 +01:00
Padding was made thinner in Bootstrap 5, so we need to bump it up manually. "gx-5" translates to the largest padding size for the x-axis of the gutter. See https://getbootstrap.com/docs/5.2/layout/gutters/. Setting the padding of the navbar has it's own special variable, see https://getbootstrap.com/docs/5.2/components/navbar/#variables
35 lines
938 B
HTML
35 lines
938 B
HTML
{{/*
|
|
|
|
A copy of the baseof.html partial in Docsy, modified
|
|
to remove the right-hand column from the layout.
|
|
|
|
*/}}
|
|
|
|
<!doctype html>
|
|
<html lang="{{ .Site.Language.Lang }}" class="no-js">
|
|
<head>
|
|
{{ partial "head.html" . }}
|
|
</head>
|
|
<body class="td-{{ .Kind }}">
|
|
<header>
|
|
{{ partial "navbar.html" . }}
|
|
</header>
|
|
<div class="container-fluid td-outer">
|
|
<div class="td-main">
|
|
<div class="row flex-xl-nowrap">
|
|
<div class="col-12 col-md-3 col-xl-3 td-sidebar d-print-none">
|
|
{{ partial "sidebar.html" . }}
|
|
</div>
|
|
<main class="col-12 col-md-9 col-xl-7 pl-md-5 gx-5" role="main">
|
|
{{ partial "version-banner.html" . }}
|
|
{{ partial "breadcrumb.html" . }}
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
</div>
|
|
</div>
|
|
{{ partial "footer.html" . }}
|
|
</div>
|
|
{{ partial "scripts.html" . }}
|
|
</body>
|
|
</html>
|