mirror of
https://github.com/Zhuym07/Tsumugiboshi.git
synced 2025-11-07 11:54:38 +08:00
更新index.html,修正OpenGraph标签中的图片路径并添加Twitter卡片支持
This commit is contained in:
BIN
image/og.png
Normal file
BIN
image/og.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
@@ -13,11 +13,10 @@
|
||||
<!-- OpenGraph 标签 -->
|
||||
<meta property="og:title" content="TsumugiBoshi|纺星">
|
||||
<meta property="og:description" content="神秘API调试工具">
|
||||
<meta id="og-image" property="og:image" content="">
|
||||
<script>
|
||||
const imagePath = "/image/og-image.png";
|
||||
document.getElementById("og-image").setAttribute("content", imagePath);
|
||||
</script> <meta property="og:type" content="website">
|
||||
<meta property="og:image" content="https://s2.loli.net/2025/01/29/1KPvmysVrAdLW3C.png" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:image" content="https://s2.loli.net/2025/01/29/1KPvmysVrAdLW3C.png" />
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<title>TsumugiBoshi|纺星</title>
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user