1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 01:42:36 +02:00

Add baseof layout

This commit is contained in:
Tiger Oakes
2020-09-05 22:30:58 -07:00
committed by XhmikosR
parent 933b6510ca
commit 4c9597ef7e
5 changed files with 110 additions and 139 deletions

View File

@@ -1,18 +1,6 @@
<!doctype html>
<html lang="en">
<head>
{{ partial "header" . }}
</head>
<body class="d-flex flex-column min-vh-100">
{{ partial "skippy" . }}
{{ partial "docs-navbar" . }}
<main class="my-auto p-5" id="content">
{{ .Content }}
</main>
{{ partial "footer" . }}
{{ partial "scripts" . }}
</body>
</html>
{{ define "body_override" }}<body class="d-flex flex-column min-vh-100">{{ end }}
{{ define "main" }}
<main class="my-auto p-5" id="content">
{{ .Content }}
</main>
{{ end }}