Closed noraj closed 4 years ago
It seems that it is already the case (Idk if it's hexo or the theme).
For this article https://rawsec.ml/en/archlinux-kalu/ I have
<meta property="og:type" content="article">
<meta property="og:title" content="Kalu - Keeping ArchLinux Up-to-date">
<meta property="og:url" content="https://rawsec.ml/en/archlinux-kalu/index.html">
<meta property="og:site_name" content="Rawsec">
<meta property="og:description" content="Intro# Basically updating ArchLinux is as easy as running pacman -Syu. But blindly running pacman -Syu everyday is not necessarily a good idea. Sometimes some updates require manual intervention, so y">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://rawsec.ml/images/archlinux.svg">
Please make sure these boxes are checked before submitting your issue. Thank you!
Description
It would be nice to have the following Open Graph meta tags automatically generated for each article (post).
og:title
from the title of the postog:description
like an excerpt from the X first chars of the postog:image
from the thumbnail front-matterog:url
from the post permanent URLog:site_name
from the site_config.yml
titleThis is independent from https://github.com/ppoffice/hexo-theme-hueman/wiki/Miscellaneous#open-graph