# 分享和社交

### 社交账号

您可以从自定义菜单中的 **分享** 选项卡中，将社交账号添加到您网站的元数据和页脚。

点击 **+ 添加账号** 并从包含的选项列表中选择一种账号类型——例如 X、GitHub、LinkedIn、Discord 和 Bluesky。在此菜单中添加社交账号也会将其添加到您网站的元数据中。

对于每个社交账号，您都可以单独开启或关闭其在文档网站页脚中的可见性，而不会影响元数据。

<figure><img src="/files/5552498d3925421282db5e37c96a2674e0ba799d" alt="Social accounts settings in Site customization"><figcaption></figcaption></figure>

### 社交预览

在这里，您可以为您的网站上传自定义的社交预览图片。这将把网站的 `og:image` 设置为您上传的图片，并且当该网站链接分享到任何支持 OpenGraph 图片的平台或产品时（例如 Slack 或 X）都会显示出来。

如果您未添加社交预览，GitBook 将自动使用您的主题颜色、页面标题和描述生成一个预览。

如果您的网站有多个 [网站部分](/docs/documentation/zh/docs-site/site-structure/site-sections.md)，您可以使用自定义屏幕顶部的下拉菜单在各个部分之间切换，并为每个部分添加自定义社交预览图片。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/documentation/zh/docs-site/customization/sharing-and-social.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
