Closed majikoo1028 closed 3 years ago
在站点 source 文件夹下创建一个以 .md 为后缀的文件,front-matter里填上
---
layout: links
---
友链数据放在front-matter里。.md文件完整配置如下。(此处使用ChrAlpha的部分友链数据)
---
layout: links
links:
- name: ChrAlpha Blog
url: https://chralpha.com
avatar: https://cdn.jsdelivr.net/npm/chrdnx@1.0.10/img/head-round.png
target: _blank
backgroundColor: '#fff'
textColor: '#444'
- name: ChrAlpha Blog
url: https://chralpha.com
avatar: https://cdn.jsdelivr.net/npm/chrdnx@1.0.10/img/head-round.png
target: _blank
backgroundColor: '#fff'
textColor: '#444'
- name: "P3TERX ZONE"
avatar: p3terx.com.jpeg
url: https://p3terx.com/
desc: "一个萌新的博客"
- name: "科技花"
avatar: blog.zaihua.me.png
url: https://blog.zaihua.me/
desc: "一条猛男"
- name: "执迷不悟"
avatar: ditou.org.png
url: https://ditou.org/
desc: "friend"
---
更多添加/修改的友链方式请参考hexo-theme-cards的官方文档独立页面
懂了,谢谢指点,帮大忙了!!
请教一下博主,那个友链在哪里添加,什么格式,才能正常显示