首页 > 解决方案 > 如何为 github.io 网站获取自定义不和谐嵌入?

问题描述

这就是我的意思

源代码

我的嵌入看起来像什么。

我只想更改一些东西,例如添加图片,更改蓝色条的颜色,添加一些正文等。

标签: discordembed

解决方案


index.html在文件标签中使用这些元<head>标签。
您已经使用了og:title标签,请使用其他两个。

<meta property="og:title" content="Write your desired title">
<meta property="og:description" content="Write the body text here">
<meta property="og:image" content="https://hypixelfarms.github.io/images/1.jpeg">

og与搜索引擎不同,这些用于使用该属性的社交共享。
有关更多信息,请访问Css-Tricks 的此页面


推荐阅读