Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
chinggg committed Aug 29, 2022
0 parents commit bd9f162
Show file tree
Hide file tree
Showing 9 changed files with 167 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/FixIt"]
path = themes/FixIt
url = https://github.com/hugo-fixit/FixIt.git
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

113 changes: 113 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -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 = "<i class='fa-solid fa-archive fa-fw fa-sm'></i>"
# 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
post = ""
name = "所有文章"
url = "/posts/"
title = ""
weight = 1
[[languages.zh-cn.menu.main]]
identifier = "categories"
pre = "<i class='fa-solid fa-th fa-fw fa-sm'></i>"
post = ""
name = "分类"
url = "/categories/"
title = ""
weight = 2
[[languages.zh-cn.menu.main]]
identifier = "tags"
pre = "<i class='fa-solid fa-tags fa-fw fa-sm'></i>"
post = ""
name = "标签"
url = "/tags/"
title = ""
weight = 3
[[languages.zh-cn.menu.main]]
identifier = "friends"
pre = "<i class='fa-solid fa-users fa-fw fa-sm'></i>"
post = ""
name = "友链"
url = "/friends/"
title = "友情链接"
weight = 4
[[languages.zh-cn.menu.main]]
identifier = "about"
pre = "<i class='fa-solid fa-info-circle fa-fw fa-sm'></i>"
post = ""
name = "关于"
url = "/about/"
title = ""
weight = 5
[[languages.zh-cn.menu.main]]
identifier = "github"
pre = "<i class='fa-brands fa-github fa-fw'></i>"
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]
9 changes: 9 additions & 0 deletions content/about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "关于上海大学飞跃手册"
date: 2022-08-29T11:04:49+08:00
draft: false
comment: false
lightgallery: true
---

[上海大学开源社区](https://github.com/shuosc/) 出品
13 changes: 13 additions & 0 deletions content/friends/index.md
Original file line number Diff line number Diff line change
@@ -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)
9 changes: 9 additions & 0 deletions content/posts/init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: "SHUFly 上海大学飞跃手册上线"
date: 2022-08-29T11:09:02+08:00
draft: false
---

许多一流高校的学生都会自发编制「飞跃手册」,记录出国保研等经验以供后人参考,上海大学虽然创立时间有限,但也有相当一部分同学选择出国或在境内深造,目前缺乏系统性的经验总结,有必要编制一份飞跃手册,不限专业和出路,以公开或半公开的方式收集整理和编辑发布。

在经过了暑假的长久策划后,我们决定使用 Hugo 来生成静态网页,区别于其他高校普遍采用的 docsify 模板,我们的网站并没有手册那样严格的层次结构,而更像无数篇个人经验贴的集合,在维护上会更加便捷,合理使用 category 和 tag 功能也可以让读者快速找到所需内容。
Binary file added static/logo.webp
Binary file not shown.
1 change: 1 addition & 0 deletions themes/FixIt
Submodule FixIt added at f37622

0 comments on commit bd9f162

Please sign in to comment.