hexo-theme-redefine
博客Github
中文
中文
  • 项目介绍
  • 开始
    • 安装
    • 使用
    • 更新
  • 配置
    • 创建主题配置文件
    • base_info
    • style
      • primary_color
      • avatar
      • favicon
      • article_img_align
      • left_side_width
      • content_max_width
      • nav_color
      • hover
      • first_screen
      • scroll
    • social_contact
    • menu
    • home_article
    • post
      • word_count
      • author_label
    • code_copy
    • toc
    • copyright_info
    • website_count
    • local_search
    • comment
      • use
      • Waline
      • Gitalk
      • Twikoo
    • rss
    • lazyload
    • cdn
    • pjax
    • footer
  • 进阶使用
    • 数学公式
    • 创建页面
    • 友链样式
    • 资源压缩
    • 笔记模块
    • 文件比对
    • 文章顶置
由 GitBook 提供支持
在本页
  1. 配置

social_contact

上一页scroll下一页menu

最后更新于2年前

social_contact: # social contact icons in the first screen, you can add more by using fontawesome icon names
  enable: true
  links:
    github:  # your GitHub URL
    instagram: # your Instagram URL
    zhihu:  # your ZhiHu URL
    twitter:  # your twitter URL
    email:  # your email

设置第三方社交链接。

social_contact 仅在首屏开启状态下才生效!

如果要更改图标或添加其他第三方链接,例如:添加 Instagram

  1. 复制图标名(如上图),添加到主题配置文件 _config.redefine.yml 的 social_contact.links 配置项里面。

social_contact:
enable: true
links:
  instagram: https://www.instagram.com/xxxxxxxx

在 搜索 Instagram 图标。

Font Awesome