chore: SEO/OG nonsense
This commit is contained in:
6 files changed
+30
-1
No files matched your search
@@ -4,4 +4,6 @@ title = "Builder's Code of Conduct"
|
||||
disableKinds = ['taxonomy', 'term', 'RSS']
|
||||
|
||||
[params]
|
||||
description = "A Code of Conduct for people who build things"
|
||||
description = "Simple Code of Conduct for builders, makers, and developers. Focus on technical merit and professional behavior."
|
||||
author = "Stephen Waits"
|
||||
keywords = "code of conduct, open source, developers, technical community, builders, makers, professional conduct"
|
||||
@@ -4,8 +4,35 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
||||
<!-- SEO Meta Tags -->
|
||||
{{ with .Description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
|
||||
<meta name="theme-color" content="#faf7f2">
|
||||
|
||||
<!-- Canonical URL -->
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" href="/favicon.png">
|
||||
<link rel="apple-touch-icon" href="/favicon.png">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:title" content="{{ block "title" . }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="og:description" content="{{ .Site.Params.description }}">
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}og.png">
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:url" content="{{ .Permalink }}">
|
||||
<meta property="twitter:title" content="{{ block "title" . }}{{ .Site.Title }}{{ end }}">
|
||||
<meta property="twitter:description" content="{{ .Site.Params.description }}">
|
||||
<meta property="twitter:image" content="{{ .Site.BaseURL }}og.png">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 565 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 645 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 778 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 779 KiB |
Reference in new issue
Block a user