diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ec57b450..a4e8b11d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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 = "" @@ -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 = "" @@ -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 主题" diff --git a/exampleSite/content/friends/index.en.md b/exampleSite/content/friends/index.en.md new file mode 100644 index 00000000..c19cb357 --- /dev/null +++ b/exampleSite/content/friends/index.en.md @@ -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. diff --git a/exampleSite/content/friends/index.zh-cn.md b/exampleSite/content/friends/index.zh-cn.md new file mode 100644 index 00000000..a4b8c784 --- /dev/null +++ b/exampleSite/content/friends/index.zh-cn.md @@ -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. 那些不尊重他人劳动成果,转载不加出处的,或恶意行为的网站,还请您不要来进行交换了。 diff --git a/exampleSite/data/friends.yml b/exampleSite/data/friends.yml new file mode 100644 index 00000000..1c2efcc7 --- /dev/null +++ b/exampleSite/data/friends.yml @@ -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: 不怕萬人阻擋,只怕自己投降! \ No newline at end of file