diff --git a/config/_default/config.toml b/config/_default/config.toml index 0b71aa9b..ac0a0357 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,8 +1,8 @@ -baseURL = "http://mtf.wiki" +baseURL = "http://mtf-wiki.github.io" title = "MtF Wiki" theme = "zdoc" -defaultContentLanguage = "zh-CN" +defaultContentLanguage = "zh-cn" defaultContentLanguageInSubdir = true hasCJKLanguage = true diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 3b082255..6ce5f5ce 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -4,8 +4,8 @@ weight = 1 contentdir = "content/en" -[zh-CN] +[zh-cn] title = "MtF Wiki" languageName = "简体中文" weight = 2 - contentdir = "content/zh-CN" + contentdir = "content/zh-cn" diff --git a/content/zh-CN/docs/.gitkeep b/content/zh-CN/docs/.gitkeep deleted file mode 100644 index 8d1c8b69..00000000 --- a/content/zh-CN/docs/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/content/zh-CN/updates/.gitkeep b/content/zh-CN/updates/.gitkeep deleted file mode 100644 index 8d1c8b69..00000000 --- a/content/zh-CN/updates/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/content/zh-cn/_index.md b/content/zh-cn/_index.md new file mode 100644 index 00000000..fa8ec30d --- /dev/null +++ b/content/zh-cn/_index.md @@ -0,0 +1,43 @@ +--- +title: MtF Wiki +description: MtF Wiki +date: 2020-10-26T04:15:05+08:00 +draft: false +landing: + height: 500 + image: favicon/android-icon-192x192.png + title: + - MtF Wiki + text: + - 欢迎大家来到MTF Wiki。这里是一个或许可以给部分跨性别女性群体提供帮助的地方。 + titleColor: + textColor: + spaceBetweenTitleText: 25 + buttons: + - link: docs + text: Docs + color: primary + # backgroundImage: + # src: images/landscape.jpg + # height: 600 +footer: + sections: + - title: General + links: + - title: Homepage + link: https://mtf-wiki.github.io + - title: Project Homepage + link: https://github.com/mtf-wiki/MtF-Wiki + - title: resources + links: + - title: GitHub + link: https://github.com/mtf-wiki/ + contents: + align: left + applySinglePageCss: false + markdown: + | + ## MtF Wiki + Copyright © 2020. All rights reserved. + +--- diff --git a/content/zh-CN/.gitkeep b/content/zh-cn/blog/.gitkeep similarity index 100% rename from content/zh-CN/.gitkeep rename to content/zh-cn/blog/.gitkeep diff --git a/content/zh-cn/docs/_index.md b/content/zh-cn/docs/_index.md new file mode 100644 index 00000000..3afb3186 --- /dev/null +++ b/content/zh-cn/docs/_index.md @@ -0,0 +1,25 @@ +--- +title: "Welcome" +description: "MtF Wiki Welcome" +date: 2020-10-26T14:09:21+08:00 +draft: false +--- + +# 欢迎 +欢迎大家来到MTF Wiki。这里是一个或许可以给部分跨性别女性群体提供帮助的地方。 + +MTF(Male-to-female),跨性别女性,是指出生时指定性别 [^1] 是男性的女性。 + +MTF Wiki 致力于成为一个免费开放且持续更新的 跨性别知识整合站点,大家可以在这里了解到各种药物知识,女性常识,以及其他等等。 + +现在的MTF Wiki正处于起步阶段,各种资料或许并不齐全,甚至可能还有部分错误,欢迎各位热心的姐妹加入我们 [^2],为MTF Wiki的发展做出贡献。 + +至于建设本网站的初衷,除了为广大MTF群体提供一个知识平台外,也是渴望他人对转换性别的设定的肯定。 + +本项目在编写过程中参考了诸多资料,在此一并致谢。 + +> 不向焦虑与抑郁投降,这个世界终会有我们存在的地方 + +[^1]: 在维基百科中关于指定性别的定义是“指定性别(英语:Assigned sex),是根据出生时检查性别特征以确定的性别。” + +[^2]: https://github.com/mtf-wiki/ diff --git a/content/zh-CN/blog/.gitkeep b/content/zh-cn/updates/.gitkeep similarity index 100% rename from content/zh-CN/blog/.gitkeep rename to content/zh-cn/updates/.gitkeep diff --git a/i18n/zh.toml b/i18n/zh-CN.toml similarity index 100% rename from i18n/zh.toml rename to i18n/zh-CN.toml diff --git a/static/manifest.json b/static/manifest.json index 5839b448..84f7e130 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -3,9 +3,8 @@ "name": "MtF Wiki", "short_name": "MtF Wiki", "version": "1.0.0", - "default_locale": "zh-CN", "description": "MtF Wiki", - "start_url": "https://mtf.wiki", + "start_url": "https://mtf-wiki.github.io", "icons": [ { "src": "favicon/android-icon-36x36.png",