-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
95 changed files
with
8,253 additions
and
4,014 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"svg.preview.background": "dark-transparent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,5 +71,8 @@ git push -u origin master | |
4. 慢慢了解hugo的功能框架,本身也是接触硬件多,网站运维知识并不了解;但是hugo的博客搭建,我感觉挺轻快有趣的。 | ||
5. 还没摸清楚 `github action` 和 `github pages`以及`workflow`的使用技巧。 | ||
|
||
hugo mod init github.com/crack-dawn/CTGU-Student-Hugo-Blog | ||
[email protected]:crack-dawn/CTGU-Student-Hugo-Blog.git | ||
|
||
6. 建立好项目后,可以尝试修改设置文件,[FixIt主题设置说明](https://fixit.lruihao.cn/zh-cn/documentation/getting-started/configuration/) | ||
|
||
<!-- hugo mod init github.com/crack-dawn/CTGU-Student-Hugo-Blog | ||
[email protected]:crack-dawn/CTGU-Student-Hugo-Blog.git --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# title = "A CTGUer's Hugo Static Site" # 网站主标题 | ||
baseURL = 'https://crack-dawn.github.io/CTGU-Hugo-Blog.io'# 网站根目录 | ||
languageCode = 'en-us' | ||
defaultContentLanguage = "zh-cn" # 默认语言 | ||
theme = ["hugo-embed-pdf-shortcode", "FixIt"] | ||
enableInlineShortcodes = true | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# 中文菜单配置 | ||
[[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 | ||
[[main]] | ||
identifier = "categories" | ||
pre = "<i class='fa-solid fa-th fa-fw fa-sm'></i>" | ||
post = "" | ||
name = "分类" | ||
url = "/categories/" | ||
title = "" | ||
weight = 2 | ||
[[main]] | ||
identifier = "tags" | ||
pre = "<i class='fa-solid fa-tags fa-fw fa-sm'></i>" | ||
post = "" | ||
name = "标签" | ||
url = "/tags/" | ||
title = "" | ||
weight = 3 | ||
[[main]] | ||
identifier = "friends" | ||
pre = "<i class='fa-solid fa-users fa-fw fa-sm'></i>" | ||
post = "" | ||
name = "友链" | ||
url = "/friends/" | ||
title = "友情链接" | ||
weight = 4 | ||
[[main]] | ||
identifier = "rss" | ||
pre = "<i class='fa-solid fa-rss'></i>" | ||
post = "" | ||
name = "专栏" | ||
url = "/course/" | ||
title = "" | ||
weight = 5 | ||
[[main]] | ||
identifier = "about" | ||
pre = "<i class='fa-solid fa-info-circle fa-fw fa-sm'></i>" | ||
post = "" | ||
name = "关于" | ||
url = "/about/" | ||
title = "" | ||
weight = 6 | ||
[[main]] | ||
identifier = "github" | ||
pre = "<i class='fa-brands fa-github fa-fw'></i>" | ||
post = "" | ||
name = "仓库" | ||
url = "https://github.com/crack-dawn/CTGU-Hugo-Blog.io" | ||
title = "GitHub" | ||
weight = 7 |
Oops, something went wrong.