Skip to content

Commit

Permalink
og:image needs to be absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoWinterhalter committed Oct 23, 2024
1 parent 4f0cbfc commit 4092e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pandoc/template.html4
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ $endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(picture)$
<meta property="og:image" content="$picture$">
$if(og-picture)$
<meta property="og:image" content="$og-picture$">
$endif$
$if(og-url)$
<meta property="og:url" content="$og-url$">
Expand Down
3 changes: 2 additions & 1 deletion src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ description-meta: PhD student in 👽 science
og-url: https://basicpage.github.io
location: Some lab, office 777
email: [email protected]
picture: /img/profile.png
picture: img/profile.png
og-picture: https://basicpage.github.io/img/profile.png
github: basicpage
orcid: 0000-0000-0000-0000
dblp: https://dblp.org/
Expand Down

0 comments on commit 4092e8e

Please sign in to comment.