Skip to content

关于分享时volantis的logo如何修改的问题 #837

Answered by BeaCox
HDILP asked this question in Q&A
Discussion options

You must be logged in to vote

有些媒体在分享链接时会使用open graph(即开放图谱)协议
volantis提供了开放图谱协议的配置,详见当前仓库的_config.yml文件

############################### Open Graph ############################### > start
# https://ogp.me/
# https://hexo.io/zh-cn/docs/helpers#open-graph
open_graph:
  image: volantis-static/media/org.volantis/blog/favicon/android-chrome-192x192.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/favicon/android-chrome-192x192.png
  twitter_card: summary # summary_large_image , summary
  #twitter_id:
  #twitter_site:
############################### Open Graph ############################### > end

将image配置为自己的logo即可

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@HDILP
Comment options

@HDILP
Comment options

Answer selected by HDILP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants