0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/site/layouts/_default/single.html

30 lines
877 B
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
{{ partial "header" . }}
</head>
<body>
{{ partial "skippy" . }}
{{ partial "docs-navbar" . }}
<header class="d-flex flex-column flex-md-row align-items-md-center p-5 bg-light">
<div class="pt-md-3 pb-md-4">
<h1 class="bd-title mt-0">{{ .Title | markdownify }}</h1>
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
{{ if eq .Title "Examples" }}
<a href="{{ .Site.Params.download.source }}" class="btn btn-lg btn-bd-primary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a>
{{ end }}
</div>
{{ partial "ads" . }}
</header>
<main class="bd-content p-5" id="content" role="main">
{{ .Content }}
</main>
{{ partial "footer" . }}
{{ partial "scripts" . }}
</body>
</html>