Skip to content

Commit ae2231e

Browse files
committed
wide png for main site open-graph preview
1 parent f1f3cf8 commit ae2231e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

equalsicon-wide.png

135 KB
Loading

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ module github.com/kevinlinxc/stemformulas.com
22

33
go 1.20
44

5-
// 2.6.0 breaks the main menu css for some reason
65
require github.com/jpanther/congo/v2 v2.6.1 // indirect

layouts/partials/head.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111
<title>{{ .Site.Title | emojify }}</title>
1212
<meta name="title" content="{{ .Site.Title | emojify }}" />
1313
<meta property="og:title" content='stemformulas'/>
14-
<meta property="og:image" content='https://github.com/stemformulas/stemformulas.github.io/raw/main/equalsicon.png'/>
14+
<meta property="og:image" content='https://github.com/stemformulas/stemformulas.github.io/raw/main/equalsicon-wide.png'/>
1515
<meta property="og:description" content='All of the STEM formulas, eventually'/>
1616
<meta property="og:url" content='https://stemformulas.com'/>
17-
<meta property="og:image:width" content='1200' />
17+
<meta property="og:image:width" content='800' />
1818
<meta property="og:image:height" content='1200' /><!-- TYPE BELOW IS PROBABLY: 'website' or 'article' or look on https://ogp.me/#types -->
1919
<meta property="og:type" content='website'/>
2020
{{- else -}}
2121
<title>{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}</title>
2222
<meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
23+
<meta property="og:title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
24+
2325
{{- end }}
2426
{{/* Metadata */}}
2527
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />

0 commit comments

Comments
 (0)