Skip to content

Commit 14d39e6

Browse files
committed
layout: update metadata
1 parent 6079459 commit 14d39e6

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

layouts/_default/baseof.html

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,9 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<title>{{ .Title }}</title>
8-
9-
<!-- Styling -->
10-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css">
11-
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/github.css?v=9">
12-
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/style.css?v=9">
13-
14-
<!-- Analytics -->
15-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GN1D8JT7TK"></script>
16-
<script>
17-
window.dataLayer = window.dataLayer || [];
18-
function gtag() { dataLayer.push(arguments); }
19-
gtag('js', new Date());
20-
gtag('config', 'G-GN1D8JT7TK');
21-
</script>
227

23-
<!-- URL metadata -->
8+
<title>{{ .Title }}</title>
9+
<meta name="description" content="{{ .Description }}">
2410
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ .Site.BaseURL }}/sitemap.xml">
2511
<link rel="canonical" href="{{ .Permalink }}" />
2612

@@ -32,20 +18,31 @@
3218
<link rel="icon" type="image/png" sizes="256x256" href="{{ .Site.BaseURL }}/img/favicon-256.png">
3319
<link rel="icon" type="image/png" sizes="512x512" href="{{ .Site.BaseURL }}/img/favicon-512.png">
3420

35-
<meta property="og:url" content="https://swharden.github.io/patch/">
21+
<meta property="og:url" content="https://swharden.com/patch/">
3622
<meta property="og:type" content="website">
3723
<meta property="og:title" content="The Patch Guide: {{ .Title }}">
3824
<meta property="og:description" content="{{ .Description }}">
3925
<meta property="og:image" content="{{ .Site.BaseURL }}/img/og.png">
4026

4127
<meta name="twitter:card" content="summary_large_image">
42-
<meta property="twitter:domain" content="https://swhswharden.github.io/patch/">
43-
<meta property="twitter:url" content="https://swharden.github.io/patch/">
28+
<meta property="twitter:domain" content="https://swharden.com/patch/">
29+
<meta property="twitter:url" content="https://swharden.com/patch/">
4430
<meta name="twitter:title" content="The Patch Guide: {{ .Title }}">
4531
<meta name="twitter:description" content="{{ .Description }}">
4632
<meta name="twitter:image" content="{{ .Site.BaseURL }}/img/og.png">
4733

34+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css">
35+
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/github.css?v=9">
36+
<link rel=stylesheet href="{{ .Site.BaseURL }}/css/style.css?v=9">
4837
<meta name="theme-color" content="#20558a" />
38+
39+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GN1D8JT7TK"></script>
40+
<script>
41+
window.dataLayer = window.dataLayer || [];
42+
function gtag() { dataLayer.push(arguments); }
43+
gtag('js', new Date());
44+
gtag('config', 'G-GN1D8JT7TK');
45+
</script>
4946
</head>
5047

5148
<body class="m-0 p-0">

0 commit comments

Comments
 (0)