Skip to content

Commit 1384648

Browse files
committed
try better aspect ratio for previews
1 parent b9055dc commit 1384648

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vscode/
22
resources/
3-
public/
3+
public/
4+
.DS_Store

layouts/partials/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<meta property="og:image" content='https://github.com/stemformulas/stemformulas.github.io/raw/main/equalsicon-wide.png'/>
1616
<meta property="og:description" content='All of the STEM formulas, eventually'/>
1717
<meta property="og:url" content='https://stemformulas.com'/>
18-
<meta property="og:image:width" content='800' />
19-
<meta property="og:image:height" content='1200' /><!-- TYPE BELOW IS PROBABLY: 'website' or 'article' or look on https://ogp.me/#types -->
18+
<meta property="og:image:width" content='1500' />
19+
<meta property="og:image:height" content='600' /><!-- TYPE BELOW IS PROBABLY: 'website' or 'article' or look on https://ogp.me/#types -->
2020
<meta property="og:type" content='website'/>
2121
<meta name="twitter:title" content="{{ .Site.Title | emojify }}"/>
2222
<meta name="twitter:description" content="All of the STEM formulas, eventually"/>
@@ -31,7 +31,7 @@
3131
<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"
3232
| emojify }}" />
3333
<meta property="og:image:width" content='1500' />
34-
<meta property="og:image:height" content='1500' />
34+
<meta property="og:image:height" content='600' />
3535
<meta property="og:type" content='website'/>
3636
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
3737
<meta name="twitter:title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />

0 commit comments

Comments
 (0)