|
5 | 5 | <meta name="robots" content="all,follow">
|
6 | 6 | <meta name="googlebot" content="index,follow,snippet,archive">
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
8 |
| - <title>{{ .Title }} | {{ .Site.Title }}</title> |
9 |
| - <meta name="author" content='{{ .Site.Author.name }}' /> |
10 |
| - {{ if .Keywords }} |
11 |
| - <meta name="keywords" content='{{ delimit .Keywords ", " }}'> |
12 |
| - {{ else if .Site.Params.DefaultKeywords }} |
13 |
| - <meta name="keywords" content='{{ delimit .Site.Params.DefaultKeywords ", " }}'> |
14 |
| - {{ end }} |
15 |
| - {{ if .Description }} |
16 |
| - <meta name="description" content='{{ .Description }}'> |
17 |
| - {{ else if .Site.Params.DefaultDescription }} |
18 |
| - <meta name="description" content='{{ .Site.Params.DefaultDescription }}'> |
19 |
| - {{ end }} |
20 |
| - <meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:title"> |
| 8 | + {{- if ne .Kind "taxonomy" }} |
| 9 | + <title>{{ .Title }}</title> |
| 10 | + <meta property="og:title" content="{{ .Title }}"> |
| 11 | + <meta property="twitter:title" content="{{ .Title }}"> |
| 12 | + {{- if .Description }} |
| 13 | + <meta name="description" content='{{ .Description }}'> |
| 14 | + <meta property="og:description" content="{{ .Description }}"> |
| 15 | + <meta property="twitter:description" content="{{ .Description }}"> |
| 16 | + {{- else if .Site.Params.DefaultDescription }} |
| 17 | + <meta name="description" content='{{ .Site.Params.DefaultDescription }}'> |
| 18 | + <meta property="og:description" content="{{ .Site.Params.DefaultDescription }}"> |
| 19 | + <meta property="twitter:description" content="{{ .Site.Params.DefaultDescription }}"> |
| 20 | + {{ end }} |
| 21 | + {{- end -}} |
| 22 | + {{/* For Changelog Page Only */}} |
| 23 | + {{- if eq .Kind "taxonomy" -}} |
| 24 | + <title>Linode Changelog</title> |
| 25 | + <meta property="og:title" content="Linode Changelog"> |
| 26 | + <meta property="twitter:title" content="Linode Changelog"> |
| 27 | + <meta name="description" content='Linode Product Release Notes'> |
| 28 | + <meta property="og:description" content="Linode Product Release Notes"> |
| 29 | + <meta property="twitter:description" content="Linode Product Release Notes"> |
| 30 | + {{- end -}} |
| 31 | + {{/* End changelog conditional */}} |
| 32 | + <meta name="author" content='{{ .Site.Author.name }}' /> |
| 33 | + {{ if .Keywords }} |
| 34 | + <meta name="keywords" content='{{ delimit .Keywords ", " }}'> |
| 35 | + {{ else if .Site.Params.DefaultKeywords }} |
| 36 | + <meta name="keywords" content='{{ delimit .Site.Params.DefaultKeywords ", " }}'> |
| 37 | + {{ end }} |
| 38 | + <meta property="og:type" content="website"> |
| 39 | + <meta property="og:url" content="{{ .Site.BaseURL }}"> |
| 40 | + <meta property="og:image" content="{{ .Site.Params.logo }}"> |
| 41 | + <meta property="twitter:card" content="{{ .Site.Params.logo }}"> |
| 42 | + <meta property="twitter:type" content="website"> |
| 43 | + <meta property="twitter:domain" content="{{ .Site.BaseURL }}"> |
| 44 | + <meta property="twitter:image" content="{{ .Site.Params.logo }}"> |
| 45 | + <meta property="twitter:url" content="{{ .Site.BaseURL }}"> |
| 46 | + |
21 | 47 | {{ .Hugo.Generator }}
|
22 | 48 |
|
23 | 49 | {{ partial "0_utilities/fonts.html" . }}
|
|
0 commit comments