From 321825f2a7a4f396b5afaf189c9b6342106bf1d8 Mon Sep 17 00:00:00 2001 From: Yuhui Huang Date: Thu, 5 May 2022 09:05:30 +0800 Subject: [PATCH] fix: layout --- _config.yml | 26 +++++++++++++++++++++++++- _data/authors.yml | 27 +++++++++++++++++++++++++++ _docs/about-questions.md | 6 +++--- _docs/contribution.md | 4 ++-- _multiplayer/multiplayer.md | 4 ++-- index.markdown | 6 +++--- 6 files changed, 62 insertions(+), 11 deletions(-) create mode 100644 _data/authors.yml diff --git a/_config.yml b/_config.yml index eab9871..373dea3 100644 --- a/_config.yml +++ b/_config.yml @@ -76,12 +76,36 @@ defaults: - scope: path: "_docs" type: docs + values: + layout: single + read_time: false + author_profile: false + share: false + comments: false + sidebar: + nav: "docs" - scope: path: "_launcher" type: launcher + values: + layout: single + read_time: false + author_profile: false + share: false + comments: false + sidebar: + nav: "launcher" - scope: path: "_modpack" type: modpack + values: + layout: single + read_time: false + author_profile: false + share: false + comments: false + sidebar: + nav: "modpack" - scope: path: "_multiplayer" type: multiplayer @@ -92,7 +116,7 @@ defaults: share: false comments: false sidebar: - nav: "docs" + nav: "multiplayer" # Exclude from processing. # The following items will not be processed, by default. diff --git a/_data/authors.yml b/_data/authors.yml new file mode 100644 index 0000000..002a800 --- /dev/null +++ b/_data/authors.yml @@ -0,0 +1,27 @@ + +Billy Rick: + name : "Billy Rick" + bio : "What do you want, jewels? I am a very extravagant man." + avatar : "/assets/images/bio-photo-2.jpg" + links: + - label: "Email" + icon: "fas fa-fw fa-envelope-square" + url: "mailto:billyrick@rick.com" + - label: "Website" + icon: "fas fa-fw fa-link" + url: "https://thewhip.com" + - label: "Twitter" + icon: "fab fa-fw fa-twitter-square" + url: "https://twitter.com/extravagantman" + +Cornelius Fiddlebone: + name : "Cornelius Fiddlebone" + bio : "I ordered what?" + avatar : "/assets/images/bio-photo.jpg" + links: + - label: "Email" + icon: "fas fa-fw fa-envelope-square" + url: "mailto:cornelius@thewhip.com" + - label: "Twitter" + icon: "fab fa-fw fa-twitter-square" + url: "https://twitter.com/rhymeswithsackit" diff --git a/_docs/about-questions.md b/_docs/about-questions.md index 5ce83d0..6fc05ba 100644 --- a/_docs/about-questions.md +++ b/_docs/about-questions.md @@ -1,6 +1,6 @@ --- title: "各大问题集合" -permalink: /launcher/faq.html +permalink: /faq.html date: 2021-10-09 23:18:02 +0800 categories: 启动器 toc: true @@ -49,9 +49,9 @@ __想必你注意到我了,记住上面讲的话__ mods 是基于 mod_loader 的一个从文件上更改游戏的内容的外置组件 你可以在这获得 __更多的游戏内容__、__更好的游戏体验__、__更好的游戏观感__ 等等 -关于 mods 的详细使用方法 [跳转](auto-installing.md) +关于 mods 的详细使用方法 [跳转](/launcher/auto-installing.html) ### 关于 mods 的报错解决方法 -在 [此文](auto-installing.md) 末尾中的确讲到了一定的解决方法 +在 [此文](/launcher/auto-installing.html) 末尾中的确讲到了一定的解决方法 但是我还是建议你看看更为详细的内容 [目前未写该教程,请等待]() ## 关于游戏的 Java 选择 diff --git a/_docs/contribution.md b/_docs/contribution.md index f54905a..65f48ba 100644 --- a/_docs/contribution.md +++ b/_docs/contribution.md @@ -1,8 +1,8 @@ --- title: "为 HMCL 帮助文档出一份力" -permalink: /launcher/contribution.html +permalink: /contribution.html date: 2021-10-09 23:18:02 +0800 -categories: HMCL +categories: 启动器 toc: true --- diff --git a/_multiplayer/multiplayer.md b/_multiplayer/multiplayer.md index af181e4..2393220 100644 --- a/_multiplayer/multiplayer.md +++ b/_multiplayer/multiplayer.md @@ -20,5 +20,5 @@ HMCL 联机模块使用了第三方软件 [Cato](https://noin.cn/71.html),所 ## 索引 -1. [HMCL 联机教程](multiplayer-help.html) -2. [NAT 网络类型为差怎么办?](multiplayer-symmetric.html) +1. [HMCL 联机教程](/multiplayer/help.html) +2. [NAT 网络类型为差怎么办?](/multiplayer/symmetric.html) diff --git a/index.markdown b/index.markdown index 400ac6d..ea5fd0d 100644 --- a/index.markdown +++ b/index.markdown @@ -23,7 +23,7 @@ You can also submit your suggestions here. ## HMCL 问题集合 -1. [新手问题](/launcher/faq.html) +1. [新手问题](/faq.html) 1. [启动器使用相关](/launcher/) 2. [整合包帮助](/modpack/) 2. [多人联机帮助](/multiplayer/) @@ -44,7 +44,7 @@ You can also submit your suggestions here. 他将告诉你如何设置一个属于自己的离线皮肤。 -4. [HMCL 的自动安装使用教程](/launcher/auto-installing.md) +4. [HMCL 的自动安装使用教程](/launcher/auto-installing.html) 它将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。 @@ -68,7 +68,7 @@ You can also submit your suggestions here. ## 其他 -1. [为 HMCL 做出贡献](/launcher/contribution.html) +1. [为 HMCL 做出贡献](/contribution.html) 2. [HMCL GitHub 地址](http://github.com/huanghongxun/HMCL) 3. [HMCL 帮助文档 GitHub 地址](http://github.com/huanghongxun/HMCL-docs) 4. [HMCL 官网](http://hmcl.huangyuhui.net)