From bd9f1627389dcce761178e12f42af199c054dc67 Mon Sep 17 00:00:00 2001
From: chinggg <24590067+chinggg@users.noreply.github.com>
Date: Mon, 29 Aug 2022 12:31:24 +0800
Subject: [PATCH] init
---
.gitignore | 13 +++++
.gitmodules | 3 ++
archetypes/default.md | 6 +++
config.toml | 113 +++++++++++++++++++++++++++++++++++++++
content/about/index.md | 9 ++++
content/friends/index.md | 13 +++++
content/posts/init.md | 9 ++++
static/logo.webp | Bin 0 -> 1464 bytes
themes/FixIt | 1 +
9 files changed, 167 insertions(+)
create mode 100644 .gitignore
create mode 100644 .gitmodules
create mode 100644 archetypes/default.md
create mode 100644 config.toml
create mode 100644 content/about/index.md
create mode 100644 content/friends/index.md
create mode 100644 content/posts/init.md
create mode 100644 static/logo.webp
create mode 160000 themes/FixIt
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..86c95ef4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+# Generated files by hugo
+/public/
+/resources/_gen/
+/assets/jsconfig.json
+hugo_stats.json
+
+# Executable may be added to repository
+hugo.exe
+hugo.darwin
+hugo.linux
+
+# Temporary lock file while building
+/.hugo_build.lock
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 00000000..de274c04
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "themes/FixIt"]
+ path = themes/FixIt
+ url = https://github.com/hugo-fixit/FixIt.git
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 00000000..00e77bd7
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,6 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+---
+
diff --git a/config.toml b/config.toml
new file mode 100644
index 00000000..addaedfe
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,113 @@
+baseURL = 'http://shuosc.github.io/fly'
+title = 'SHUFly - 上海大学飞跃手册'
+theme = 'FixIt'
+
+# [en, zh-cn, fr, ...] 设置默认的语言
+defaultContentLanguage = "zh-cn"
+# 网站语言,仅在这里 CN 大写
+languageCode = "zh-CN"
+# 是否包括中日韩文字
+hasCJKLanguage = true
+
+[params]
+ # FixIt 主题版本
+ version = "0.2.X"
+ # Header config
+ [params.header]
+ # FixIt 0.2.13 | CHANGED desktop header mode ("sticky", "normal", "auto")
+ desktopMode = "sticky"
+ # FixIt 0.2.13 | CHANGED mobile header mode ("sticky", "normal", "auto")
+ mobileMode = "auto"
+ # FixIt 0.2.0 | NEW Header title config
+ [params.header.title]
+ # URL of the LOGO
+ logo = "/fly/logo.webp"
+ # title name
+ name = "SHUFly"
+
+# 中文主页信息设置
+[languages.zh-cn.params.home]
+ # RSS 文章数目
+ rss = 10
+ # 主页个人信息
+ [languages.zh-cn.params.home.profile]
+ enable = true
+ # Gravatar 邮箱,用于优先在主页显示的头像
+ gravatarEmail = ""
+ # 主页显示头像的 URL
+ avatarURL = "/fly/logo.webp"
+ # 主页显示的网站标题 (支持 HTML 格式)
+ title = "上海大学飞跃手册"
+ # 是否为副标题显示打字机动画
+ typeit = true
+ # 是否显示社交账号
+ social = false
+ # 免责声明 (支持 HTML 格式)
+ disclaimer = ""
+ # 主页文章列表
+ [languages.zh-cn.params.home.posts]
+ enable = true
+ # 主页每页显示文章数量
+ paginate = 8
+
+# 中文菜单配置
+[languages.zh-cn.menu]
+ [[languages.zh-cn.menu.main]]
+ identifier = "posts"
+ # 父级菜单项的标识符 (identifier) since v0.2.14
+ parent = ""
+ # 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标
+ pre = ""
+ # 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
+ post = ""
+ name = "所有文章"
+ url = "/posts/"
+ title = ""
+ weight = 1
+ [[languages.zh-cn.menu.main]]
+ identifier = "categories"
+ pre = ""
+ post = ""
+ name = "分类"
+ url = "/categories/"
+ title = ""
+ weight = 2
+ [[languages.zh-cn.menu.main]]
+ identifier = "tags"
+ pre = ""
+ post = ""
+ name = "标签"
+ url = "/tags/"
+ title = ""
+ weight = 3
+ [[languages.zh-cn.menu.main]]
+ identifier = "friends"
+ pre = ""
+ post = ""
+ name = "友链"
+ url = "/friends/"
+ title = "友情链接"
+ weight = 4
+ [[languages.zh-cn.menu.main]]
+ identifier = "about"
+ pre = ""
+ post = ""
+ name = "关于"
+ url = "/about/"
+ title = ""
+ weight = 5
+ [[languages.zh-cn.menu.main]]
+ identifier = "github"
+ pre = ""
+ post = ""
+ name = ""
+ url = "https://github.com/shuosc/SHUFly"
+ title = "GitHub"
+ weight = 6
+ [languages.zh-cn.menu.main.params]
+ class = "d-none-desktop text-center"
+
+# Hugo 解析文档的配置
+[markup]
+ # 语法高亮设置 (https://gohugo.io/content-management/syntax-highlighting)
+ [markup.highlight]
diff --git a/content/about/index.md b/content/about/index.md
new file mode 100644
index 00000000..c6a79c66
--- /dev/null
+++ b/content/about/index.md
@@ -0,0 +1,9 @@
+---
+title: "关于上海大学飞跃手册"
+date: 2022-08-29T11:04:49+08:00
+draft: false
+comment: false
+lightgallery: true
+---
+
+由 [上海大学开源社区](https://github.com/shuosc/) 出品
diff --git a/content/friends/index.md b/content/friends/index.md
new file mode 100644
index 00000000..84e8777e
--- /dev/null
+++ b/content/friends/index.md
@@ -0,0 +1,13 @@
+---
+title: "各大高校飞跃手册"
+date: 2022-08-29T11:04:49+08:00
+draft: false
+comment: false
+lightgallery: true
+---
+
+- [华东理工大学飞跃手册 2.0](https://github.com/paulzrq/Ecust-Lea)
+- [南方科技大学飞跃手册](https://sustech-application.com/#/?id=%e5%8d%97%e6%96%b9%e7%a7%91%e6%8a%80%e5%a4%a7%e5%ad%a6%e9%a3%9e%e8%b7%83%e6%89%8b%e5%86%8c)
+- [华中科技大学飞跃手册](https://hust-feiyue.github.io/link_exchange.html)
+- [上海交通大学飞跃手册](https://survivesjtu.github.io/SJTU-Application/#/)
+- [浙江大学数院飞跃手册 PDF](http://www.math.zju.edu.cn/_upload/article/files/99/e1/32b8399349af89f05033bf19a32e/4fd486a5-8a4e-47f0-a9c1-9fdba8cae593.pdf)
diff --git a/content/posts/init.md b/content/posts/init.md
new file mode 100644
index 00000000..d2896e75
--- /dev/null
+++ b/content/posts/init.md
@@ -0,0 +1,9 @@
+---
+title: "SHUFly 上海大学飞跃手册上线"
+date: 2022-08-29T11:09:02+08:00
+draft: false
+---
+
+许多一流高校的学生都会自发编制「飞跃手册」,记录出国保研等经验以供后人参考,上海大学虽然创立时间有限,但也有相当一部分同学选择出国或在境内深造,目前缺乏系统性的经验总结,有必要编制一份飞跃手册,不限专业和出路,以公开或半公开的方式收集整理和编辑发布。
+
+在经过了暑假的长久策划后,我们决定使用 Hugo 来生成静态网页,区别于其他高校普遍采用的 docsify 模板,我们的网站并没有手册那样严格的层次结构,而更像无数篇个人经验贴的集合,在维护上会更加便捷,合理使用 category 和 tag 功能也可以让读者快速找到所需内容。
diff --git a/static/logo.webp b/static/logo.webp
new file mode 100644
index 0000000000000000000000000000000000000000..da4a41ac96ac84d767dfd8606dbf5af4e474c82c
GIT binary patch
literal 1464
zcmV;p1xNZ)Nk&Gn1pok7MM6+kP&go@1pokW9sr#IDrEp-06vL0mq(=|q9HSs+%TXK
z31k4ol=92LYG7ePO^Bv`1I;8r|$%i}`
z^2KeimL@ngPBJX{Gb+c(w(qPw6#B)dTTdL+%G^#wXtaQHL4a7sypV$ug!6)|F9_wB
zfRUk&ZzH>Y)eWk(qTY^w2amU0Wt^{%NJz)PUFtZE9sH>}*cU}4Mp}}EXvfl#JZ)Zp
z_0Rkw4QQ^eOVE`Xu2SS%IC7)omjsje?3p&9!n5YzO{3>{#~}d)b$Ac%DmM@E-sG{{F%QjBXUL60e%ae3|8@e%Ge>fW@B*c#PxYOIfMZ
zR>1wZu=zQ=^R%*wRm=Ea!~vhwQD_L55Iq*e9X2g2HLXQxA^M@tp%T59`)``IO@ief
z;HCHhAU=ey*W`IpLH3Tgfbq0le%@tJh+2VY^m@}m3ogYRVLK;AP2XEO;sj&L6u(}9
zGfa0F&CcQ7qBX*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