-
-
Notifications
You must be signed in to change notification settings - Fork 78.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into main-mc-logo-svg
- Loading branch information
Showing
20 changed files
with
170 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
{{ partial "header" . }} | ||
</head> | ||
{{ block "body_override" . }}<body>{{ end }} | ||
{{ partial "skippy" . }} | ||
|
||
{{ partial "docs-navbar" . }} | ||
|
||
{{ block "main" . }} | ||
{{ end }} | ||
|
||
{{ partial "footer" . }} | ||
{{ partial "scripts" . }} | ||
|
||
{{ block "footer" . }} | ||
{{ end }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,49 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
{{ partial "header" . }} | ||
</head> | ||
<body> | ||
{{ partial "skippy" . }} | ||
|
||
{{ partial "docs-navbar" . }} | ||
{{ partial "docs-subnav" . }} | ||
|
||
<div class="container-xxl my-md-4 bd-layout"> | ||
<aside class="bd-sidebar"> | ||
{{ partial "docs-sidebar" . }} | ||
</aside> | ||
|
||
<main class="bd-main order-1"> | ||
<div class="bd-intro pl-lg-4"> | ||
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between"> | ||
<a class="btn btn-sm btn-bd-light mb-2 mb-md-0" href="{{ .Site.Params.repo }}/blob/main/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a> | ||
<h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1> | ||
</div> | ||
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p> | ||
{{ partial "ads" . }} | ||
{{ define "main" }} | ||
{{ partial "docs-subnav" . }} | ||
|
||
<div class="container-xxl my-md-4 bd-layout"> | ||
<aside class="bd-sidebar"> | ||
{{ partial "docs-sidebar" . }} | ||
</aside> | ||
|
||
<main class="bd-main order-1"> | ||
<div class="bd-intro pl-lg-4"> | ||
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between"> | ||
<a class="btn btn-sm btn-bd-light mb-2 mb-md-0" href="{{ .Site.Params.repo }}/blob/main/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a> | ||
<h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1> | ||
</div> | ||
|
||
{{ if (eq .Page.Params.toc true) }} | ||
<div class="bd-toc mt-4 mb-5 my-md-0 pl-xl-3 mb-lg-5 text-muted"> | ||
<strong class="d-block h6 my-2 pb-2 border-bottom">On this page</strong> | ||
{{ .TableOfContents }} | ||
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p> | ||
{{ partial "ads" . }} | ||
</div> | ||
|
||
{{ if (eq .Page.Params.toc true) }} | ||
<div class="bd-toc mt-4 mb-5 my-md-0 pl-xl-3 mb-lg-5 text-muted"> | ||
<strong class="d-block h6 my-2 pb-2 border-bottom">On this page</strong> | ||
{{ .TableOfContents }} | ||
</div> | ||
{{ end }} | ||
|
||
<div class="bd-content pl-lg-4"> | ||
{{ if .Page.Params.sections }} | ||
<div class="row g-3"> | ||
{{ range .Page.Params.sections }} | ||
<div class="col-md-6"> | ||
<a class="d-block text-decoration-none" href="../{{ urlize .title }}/"> | ||
<strong class="d-block h5 mb-0">{{ .title }}</strong> | ||
<span class="text-secondary">{{ .description }}</span> | ||
</a> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
|
||
<div class="bd-content pl-lg-4"> | ||
{{ if .Page.Params.sections }} | ||
<div class="row g-3"> | ||
{{ range .Page.Params.sections }} | ||
<div class="col-md-6"> | ||
<a class="d-block text-decoration-none" href="../{{ urlize .title }}/"> | ||
<strong class="d-block h5 mb-0">{{ .title }}</strong> | ||
<span class="text-secondary">{{ .description }}</span> | ||
</a> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
|
||
{{ .Content }} | ||
</div> | ||
</main> | ||
</div> | ||
|
||
{{ partial "footer" . }} | ||
{{ partial "scripts" . }} | ||
|
||
{{ range .Page.Params.extra_js -}} | ||
<script{{ with .async }} async{{ end }} src="{{ .src }}"></script> | ||
{{- end -}} | ||
</body> | ||
</html> | ||
{{ .Content }} | ||
</div> | ||
</main> | ||
</div> | ||
{{ end }} | ||
{{ define "footer" }} | ||
{{ range .Page.Params.extra_js -}} | ||
<script{{ with .async }} async{{ end }} src="{{ .src }}"></script> | ||
{{- end -}} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
{{ partial "header" . }} | ||
</head> | ||
<body> | ||
{{ partial "skippy" . }} | ||
|
||
{{ partial "docs-navbar" . }} | ||
|
||
<main> | ||
{{ partial "home/masthead" . }} | ||
{{ partial "home/masthead-followup" . }} | ||
</main> | ||
|
||
{{ .Content }} | ||
|
||
{{ partial "footer" . }} | ||
{{ partial "scripts" . }} | ||
</body> | ||
</html> | ||
{{ define "main" }} | ||
<main> | ||
{{ partial "home/masthead" . }} | ||
{{ partial "home/masthead-followup" . }} | ||
</main> | ||
|
||
{{ .Content }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{ .Page.Params.redirect | absURL }}</title> | ||
<link rel="canonical" href="{{ .Page.Params.redirect | absURL }}"> | ||
<meta name="robots" content="noindex"> | ||
<meta http-equiv="refresh" content="0; url={{ .Page.Params.redirect | absURL }}"> | ||
</head> | ||
</html> | ||
{{ partial "redirect" (.Page.Params.redirect | absURL) }} |
Oops, something went wrong.