discord - 如何为 github.io 网站获取自定义不和谐嵌入?
解决方案
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 的此页面。
推荐阅读
- postgresql - 在 Airflow 中为 postgres 创建默认用户时出错
- python - 如何在 Python 中附加数据框?
- reactjs - 如何渲染相同的组件但具有初始状态(有条件地)?
- ios - 通知在 ios 上不起作用-flutter firebase 消息传递
- sql - SQL中的存储过程检查索引是否存在然后创建
- php - Laravel 路由解析自定义数据类型
- java - 当一个类或接口充当自己的工厂时,是否有选择工厂方法名称的约定/最佳实践?
- android - 华为P20上的安卓图标渲染很奇怪
- java - 从数据库中检索一个值并将其设置为 Spring boot 中的 @Table Name 值
- c# - 托管在 Kestrel (AspNet Core 5.0) 中的 SignalR 服务的 Windows 身份验证