|
10 | 10 | {{ if .IsHome -}} |
11 | 11 | <title>{{ .Site.Title | emojify }}</title> |
12 | 12 | <meta name="title" content="{{ .Site.Title | emojify }}" /> |
| 13 | + <meta name="og:site_name" content="stemformulas.com" /> |
13 | 14 | <meta property="og:title" content='stemformulas'/> |
14 | 15 | <meta property="og:image" content='https://github.com/stemformulas/stemformulas.github.io/raw/main/equalsicon-wide.png'/> |
15 | 16 | <meta property="og:description" content='All of the STEM formulas, eventually'/> |
16 | 17 | <meta property="og:url" content='https://stemformulas.com'/> |
17 | 18 | <meta property="og:image:width" content='800' /> |
18 | 19 | <meta property="og:image:height" content='1200' /><!-- TYPE BELOW IS PROBABLY: 'website' or 'article' or look on https://ogp.me/#types --> |
19 | 20 | <meta property="og:type" content='website'/> |
| 21 | + <meta name="twitter:title" content="{{ .Site.Title | emojify }}"/> |
| 22 | + <meta name="twitter:description" content="All of the STEM formulas, eventually"/> |
| 23 | + <meta name="twitter:card" content="summary_large_image"/> |
| 24 | + <meta name="twitter:image:src" content="https://github.com/stemformulas/stemformulas.github.io/raw/main/equalsicon-wide.png"/> |
| 25 | + |
20 | 26 | {{- else -}} |
21 | 27 | <title>{{ .Title | emojify }} · {{ .Site.Title | emojify }}</title> |
22 | 28 | <meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" /> |
| 29 | + <meta name="og:site_name" content="stemformulas.com" /> |
23 | 30 | <meta property="og:title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" /> |
24 | 31 | <meta property="og:image" content="{{ printf "%s" "preview.png" | printf "%s%s" .RelPermalink | printf "%s%s" "https://github.com/stemformulas/stemformulas.github.io/raw/main/content" | printf "%s" |
25 | 32 | | emojify }}" /> |
26 | 33 | <meta property="og:image:width" content='1500' /> |
27 | 34 | <meta property="og:image:height" content='1500' /> |
28 | 35 | <meta property="og:type" content='website'/> |
| 36 | + <meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> |
| 37 | + <meta name="twitter:title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" /> |
| 38 | + <meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> |
| 39 | + <meta name="twitter:card" content="summary_large_image"/> |
| 40 | + <meta name="twitter:image:src" content="{{ printf "%s" "preview.png" | printf "%s%s" .RelPermalink | printf "%s%s" "https://github.com/stemformulas/stemformulas.github.io/raw/main/content" | printf "%s" |
| 41 | + | emojify }}"/> |
29 | 42 | {{- end }} |
| 43 | + <meta name="twitter:site" content="stemformulas.com"> |
| 44 | + <meta name="theme-color" content="#000000"> |
30 | 45 | {{/* Metadata */}} |
31 | 46 | <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> |
32 | 47 | {{ with .Site.Params.keywords -}} |
|
0 commit comments