📝 Docs: add friend links example (#37)

This commit is contained in:
Cell
2022-01-17 21:07:05 +08:00
parent 7e313005ac
commit 054b9332c8
4 changed files with 80 additions and 4 deletions
+20 -4
View File
@@ -75,6 +75,14 @@ enableEmoji = true
url = "/categories/documentation/"
title = ""
weight = 4
[[languages.en.menu.main]]
identifier = "friends"
pre = ""
post = ""
name = "Friends"
url = "/friends/"
title = ""
weight = 5
[[languages.en.menu.main]]
identifier = "about"
pre = ""
@@ -82,7 +90,7 @@ enableEmoji = true
name = "About"
url = "/about/"
title = ""
weight = 5
weight = 6
[[languages.en.menu.main]]
identifier = "github"
pre = "<i class='fab fa-github fa-fw'></i>"
@@ -90,7 +98,7 @@ enableEmoji = true
name = ""
url = "https://github.com/Lruihao/FixIt"
title = "GitHub"
weight = 6
weight = 7
[languages.en.params]
# site description
description = "About FixIt Theme"
@@ -277,6 +285,14 @@ enableEmoji = true
url = "/categories/documentation/"
title = ""
weight = 4
[[languages.zh-cn.menu.main]]
identifier = "friends"
pre = ""
post = ""
name = "友链"
url = "/friends/"
title = "友情链接"
weight = 5
[[languages.zh-cn.menu.main]]
identifier = "about"
pre = ""
@@ -284,7 +300,7 @@ enableEmoji = true
name = "关于"
url = "/about/"
title = ""
weight = 5
weight = 6
[[languages.zh-cn.menu.main]]
identifier = "github"
pre = "<i class='fab fa-github fa-fw'></i>"
@@ -292,7 +308,7 @@ enableEmoji = true
name = ""
url = "https://github.com/Lruihao/FixIt"
title = "GitHub"
weight = 6
weight = 7
[languages.zh-cn.params]
# 网站描述
description = "关于 FixIt 主题"
+19
View File
@@ -0,0 +1,19 @@
---
title: "Friends"
subtitle: This is just a demo website, no links exchange ~
type: "friends"
comment: false
---
## Base info
```yaml
- nickname: Lruihao's Note
avatar: https://lruihao.cn/images/avatar.jpg
url: https://lruihao.cn
discription: 不怕萬人阻擋,只怕自己投降
```
## Friendly Reminder
> 1. If you want to exchange link, please leave a comment in the above format. (personal non-commercial blogs / websites only)
> 2. Warn: Website failure, stop maintenance and improper content may be cancelled!
> 3. Those websites that do not respect other people's labor achievements, reprint without source, or malicious acts, please do not come to exchange.
@@ -0,0 +1,19 @@
---
title: "友情链接"
subtitle: 这只是一个演示网站,不进行友链交换哦 ~
type: "friends"
comment: false
---
## 基本信息
```yaml
- nickname: 菠菜眾長
avatar: https://lruihao.cn/images/avatar.jpg
url: https://lruihao.cn
discription: 不怕萬人阻擋,只怕自己投降
```
## 友情提醒
> 1. 互换友链请按以上格式在评论留言。(仅限个人非商业博客/网站)
> 2. 提醒:网站失效、停止维护、内容不当都可能被取消连接!
> 3. 那些不尊重他人劳动成果,转载不加出处的,或恶意行为的网站,还请您不要来进行交换了。
+22
View File
@@ -0,0 +1,22 @@
# Friend/Site info of one 朋友/站点信息例子
# - nickname: friend's name 朋友名字
# avatar: friend's avatar 朋友头像
# url: site link 站点链接
# discription: discription of friend/site 对朋友或其站点的说明
- nickname: FixIt Source
avatar: /images/Apple-Devices-Preview.png
url: https://github.com/Lruihao/FixIt
discription: A clean, elegant but advanced blog theme for Hugo
- nickname: FixIt Demo
avatar:
url: /
discription: 一个简洁、优雅且高效的 Hugo 主题
- nickname: Lruihao
avatar: https://lruihao.cn/images/avatar.jpg
url: https://lruihao.cn
discription: 不怕萬人阻擋,只怕自己投降!
- nickname: Cell
avatar: https://avatars.githubusercontent.com/u/33419593?v=4
url: https://github.com/Lruihao
discription: 不怕萬人阻擋,只怕自己投降!