Skip to content

Commit e0a6480

Browse files
committed
(maint) Fix spacing on Layout.astro
Fixes the spacing on the Layout.astro file to ensure it does not use a mixture of spaces and tabs.
1 parent e5227c3 commit e0a6480

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

src/layouts/Layout.astro

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ const twitterCardType = twitterImage ? 'summary_large_image' : 'summary';
1818
1919
// obtain Git commit hash
2020
const hash = childProcess
21-
.execSync("git rev-parse --short HEAD")
22-
.toString()
23-
.trim();
21+
.execSync("git rev-parse --short HEAD")
22+
.toString()
23+
.trim();
2424
---
2525

2626
<!DOCTYPE html>
2727
<html lang="en">
28-
<head>
28+
<head>
2929
<GoogleTag />
3030
<style>
3131
@view-transition {
3232
navigation: auto;
3333
}
3434
</style>
35-
<meta charset="UTF-8" />
36-
<meta name="viewport" content="width=device-width" />
35+
<meta charset="UTF-8" />
36+
<meta name="viewport" content="width=device-width" />
3737
<link rel="sitemap" href="/sitemap-index.xml" />
3838

3939
<!-- Favicons -->
40-
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
41-
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
40+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
41+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
4242
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" />
4343
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" />
4444
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" />
@@ -49,12 +49,12 @@ const hash = childProcess
4949
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png" />
5050

5151
<!-- SEO -->
52-
<link rel="canonical" href={canonicalURL} />
52+
<link rel="canonical" href={canonicalURL} />
5353

54-
<!-- General Meta Tags -->
55-
<meta name="title" content={metaTitle} />
56-
<meta name="description" content={description} />
57-
<meta name="author" content={config.title} />
54+
<!-- General Meta Tags -->
55+
<meta name="title" content={metaTitle} />
56+
<meta name="description" content={description} />
57+
<meta name="author" content={config.title} />
5858
<meta name="generator" content={Astro.generator} />
5959

6060
<!-- Additional Meta Tags -->
@@ -64,35 +64,35 @@ const hash = childProcess
6464
<meta property="DC.title" content={metaTitle} />
6565
<meta property="copyright" content={`Chocolatey is Copyright 2020 - ${new Date().getFullYear()} Chocolatey Software, Inc.`} />
6666

67-
<!-- Open Graph / Facebook -->
68-
<meta property="og:title" content={metaTitle} />
69-
<meta property="og:description" content={description} />
70-
<meta property="og:url" content={canonicalURL} />
71-
<meta property="og:image" content={ogImageURL} />
67+
<!-- Open Graph / Facebook -->
68+
<meta property="og:title" content={metaTitle} />
69+
<meta property="og:description" content={description} />
70+
<meta property="og:url" content={canonicalURL} />
71+
<meta property="og:image" content={ogImageURL} />
7272

73-
<!-- Twitter -->
73+
<!-- Twitter -->
7474
<meta name="twitter:site" content="@chocolateynuget">
7575
<meta property="twitter:title" content={metaTitle} />
7676
<meta property="twitter:url" content={canonicalURL} />
7777
<meta property="twitter:description" content={description} />
7878
<meta property="twitter:image" content={twitterImageURL} />
7979
<meta property="twitter:card" content={twitterCardType} />
80-
81-
<!-- Google Font -->
82-
<link rel="preconnect" href="https://fonts.googleapis.com">
83-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
84-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Roboto+Mono:wght@300;400;600;700&display=swap" rel="stylesheet">
8580

86-
<!-- CSS -->
87-
<link rel="stylesheet" href={`/styles/docs.min.purged.css?v=${hash}`} />
81+
<!-- Google Font -->
82+
<link rel="preconnect" href="https://fonts.googleapis.com">
83+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
84+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Roboto+Mono:wght@300;400;600;700&display=swap" rel="stylesheet">
8885

89-
<!-- JS -->
90-
<script is:inline src={`/scripts/theme-toggle.min.js?v=${hash}`}></script>
86+
<!-- CSS -->
87+
<link rel="stylesheet" href={`/styles/docs.min.purged.css?v=${hash}`} />
88+
89+
<!-- JS -->
90+
<script is:inline src={`/scripts/theme-toggle.min.js?v=${hash}`}></script>
9191
<script is:inline async referrerpolicy="unsafe-url" src="https://ws.zoominfo.com/pixel/KPKpTJOFOv5SuV7X3eGx"></script>
9292
<title>{metaTitle}</title>
93-
</head>
94-
<body class="chocolatey-docs">
95-
<header>
93+
</head>
94+
<body class="chocolatey-docs">
95+
<header>
9696
<TopAlertBanner />
9797
<div class="d-none d-sm-flex">
9898
<div class="global-nav w-100">
@@ -122,8 +122,8 @@ const hash = childProcess
122122
</div>
123123
</nav>
124124
</header>
125-
<slot />
126-
<footer class="flex-shrink-0">
125+
<slot />
126+
<footer class="flex-shrink-0">
127127
<div class="text-bg-body-secondary border-top text-center p-3">
128128
<span class="small">&copy; {new Date().getFullYear()} {config.title}, Inc.</span><br />
129129
<span class="small">Deployed from <a href={`https://github.com/chocolatey/docs/commit/${hash}`}>{hash}</a></span><br />
@@ -134,6 +134,6 @@ const hash = childProcess
134134
<button type="button" class="btn btn-bg-body d-md-none" data-bs-dismiss="alert" aria-label="Close">I accept</button>
135135
</div>
136136
</footer>
137-
<script is:inline src={`/scripts/docs.min.js?v=${hash}`}></script>
138-
</body>
137+
<script is:inline src={`/scripts/docs.min.js?v=${hash}`}></script>
138+
</body>
139139
</html>

0 commit comments

Comments
 (0)