Org html export: add og:image to meta tags

This commit is contained in:
TEC 2020-07-17 04:46:26 +08:00
parent 5ea8c05bb7
commit ce067a4462
1 changed files with 1 additions and 0 deletions

View File

@ -4600,6 +4600,7 @@ INFO is a plist used as a communication channel."
(org-html--build-meta-entry "property" "og:title" title)
(org-html--build-meta-entry "property" "og:type" "article")
(org-html--build-meta-entry "property" "og:image" "https://tecosaur.com/resources/org/nib.png")
(when (org-string-nw-p author)
(org-html--build-meta-entry "property" "og:article:author:first_name" (car (s-split " " author))))
(when (and (org-string-nw-p author) (s-contains-p " " author))