First commit on Mac Mini server

This commit is contained in:
2025-07-25 02:15:37 +08:00
parent 6f09b5f46f
commit 64eed4e7ce
358 changed files with 67829 additions and 14729 deletions

View File

@@ -31,3 +31,6 @@ enableEmoji = true
[outputs]
home = ["HTML", "RSS", "JSON"]
[params.footer]
icp = "苏ICP备2024145451号"

View File

@@ -1,7 +1,7 @@
languageCode = "en"
languageName = "English"
weight = 1
title = "SWang Nice"
title = "SWangNice"
contentDir = 'content/en'
@@ -17,7 +17,7 @@ contentDir = 'content/en'
[params.author]
name = "SWang"
image = "img/avatar.png"
headline = "Welcome to my website"
headline = "A new graduate engineer"
bio = "New Graduate Engineer, interested in Robotics and AI"
links = [
{ link = "https://swangnice.com" },

View File

@@ -1,12 +1,12 @@
languageCode = "zh-CN"
languageName = "简体中文"
weight = 2
title = "Swangnice的空间"
title = "SwangNice的空间"
contentDir = 'content/zh'
[params]
displayName = "CN"
displayName = "中文"
isoCode = "zh-CN"
rtl = false
# logo = "img/logo.png"
@@ -18,7 +18,7 @@ dateFormat = "2 January 2006"
[params.author]
name = "SWang"
image = "img/avatar.png"
headline = "欢迎来到我的网站"
headline = "一名刚毕业的工程师"
bio = "新毕业工程师,对机器人和人工智能感兴趣"
links = [
{ link = "https://swangnice.com" },

View File

@@ -15,63 +15,85 @@
url = "/en/"
weight = 1
# Notes
[[main]]
identifier = "notes"
name = "Notes"
pageRef = "/en/notes/"
weight = 10
pageRef = "/notes/"
weight = 30
[[main]]
name = "Coding"
url = "/en/notes/coding/"
url = "/notes/coding/"
parent = "notes"
weight = 10
[[main]]
name = "PDF Collection"
url = "/en/notes/pdf/"
url = "/notes/pdf/"
parent = "notes"
weight = 20
# Projects
# ===============Projects===============
[[main]]
identifier = "projects"
name = "Projects"
pageRef = "/en/projects/"
weight = 20
pageRef = "/projects/"
weight = 50
# [[main]]
# name = "AI"
# url = "/projects/ai/"
# parent = "projects"
# weight = 10
[[main]]
name = "AI"
url = "/en/projects/ai/"
name = "Fancy Things on Boards"
url = "/projects/embedded/"
parent = "projects"
weight = 20
# [[main]]
# name = "Game"
# url = "/projects/game/"
# parent = "projects"
# weight = 30
# [[main]]
# name = "Robotics"
# url = "/projects/robotics/"
# parent = "projects"
# weight = 40
[[main]]
name = "Self-host"
url = "/projects/self_host/"
parent = "projects"
weight = 50
# Life
[[main]]
identifier = "life"
name = "RestHere"
pageRef = "/life/"
weight = 70
[[main]]
name = "My Pet"
url = "/life/pet/"
parent = "life"
weight = 5
[[main]]
name = "My Travel"
url = "/life/travel/"
parent = "life"
weight = 10
[[main]]
name = "Embedded Systems"
url = "/en/projects/embedded/"
parent = "projects"
weight = 20
[[main]]
name = "Game"
url = "/en/projects/game/"
parent = "projects"
weight = 30
[[main]]
name = "Robotics"
url = "/en/projects/robotics/"
parent = "projects"
weight = 40
# Archive
[[main]]
name = "Archive"
pageRef = "/en/archive/"
weight = 70
[[main]]
identifier = "web"

View File

@@ -10,22 +10,94 @@
# overridden by providing a weight value. The menu will then be
# ordered by weight from lowest to highest.
# Notes
[[main]]
name = "Blog"
pageRef = "posts"
identifier = "notes"
name = "笔记"
pageRef = "/zh-cn/notes/"
weight = 30
[[main]]
name = "编程笔记"
url = "/zh-cn/notes/coding/"
parent = "notes"
weight = 10
[[main]]
name = "PDF归档"
url = "/zh-cn/notes/pdf/"
parent = "notes"
weight = 20
# Projects
[[main]]
identifier = "projects"
name = "项目"
pageRef = "/zh-cn/projects/"
weight = 50
# [[main]]
# name = "人工智能"
# url = "/zh-cn/projects/ai/"
# parent = "projects"
# weight = 10
[[main]]
name = "妙板生花"
url = "/zh-cn/projects/embedded/"
parent = "projects"
weight = 20
# [[main]]
# name = "游戏开发"
# url = "/zh-cn/projects/game/"
# parent = "projects"
# weight = 30
# [[main]]
# name = "机器人"
# url = "/zh-cn/projects/robotics/"
# parent = "projects"
# weight = 40
[[main]]
name = "自托管"
url = "/zh-cn/projects/self_host/"
parent = "projects"
weight = 50
# Life
[[main]]
identifier = "life"
name = "此处休息"
pageRef = "/zh-cn/life/"
weight = 70
[[main]]
name = "宠物"
url = "/zh-cn/life/pet/"
parent = "life"
weight = 5
[[main]]
name = "游记"
url = "/zh-cn/life/travel/"
parent = "life"
weight = 10
[[main]]
identifier = "web"
pre = "link"
url = "https://swangnice.com"
weight = 40
weight = 80
[[main]]
identifier = "github"
pre = "github"
url = "https://github.com/swangnice"
weight = 50
weight = 90

View File

@@ -3,23 +3,39 @@
# customise the display of your website.
#
# Refer to the theme docs for more details about each of these parameters.
# https://nunocoracao.github.io/blowfish/docs/configuration/#theme-parameters
# https://blowfish.page/docs/configuration/#theme-parameters
colorScheme = "slate"
colorScheme = "blowfish"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true
enableSearch = true
enableCodeCopy = true
enableCodeCopy = false
mainSections = ["posts"]
replyByEmail = false
# mainSections = ["section1", "section2"]
# robots = ""
disableImageOptimization = false
disableTextInHeader = false
# backgroundImageWidth = 1200
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
# highlightCurrentMenuArea = true
# smartTOC = true
# smartTOCHideUnfocusedChildren = true
giteaDefaultServer = "https://git.fsfe.org"
forgejoDefaultServer = "https://v8.next.forgejo.org"
[header]
layout = "basic" # valid options: basic, fixed
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
[footer]
# showMenu = true
showMenu = true
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = true
@@ -28,23 +44,27 @@ mainSections = ["posts"]
[homepage]
layout = "profile" # valid options: page, profile, hero, card, background, custom
#homepageImage = "IMAGE.jpg" # used in: hero, and card
showRecent = true
showRecent = false
showRecentItems = 5
showMoreLink = true
showMoreLinkDest = "/blowfish_lite/posts"
showMoreLink = false
showMoreLinkDest = "/posts/"
cardView = false
cardViewScreenWidth = false
layoutBackgroundBlur = false # only used when layout equals background
[article]
showDate = true
#showViews = true
#showLikes = true
showDate = false
showViews = false
showLikes = false
showDateOnlyInArticle = false
showDateUpdated = false
showAuthor = true
showHero = true
heroStyle = "basic" # valid options: basic, big, background
showBreadcrumbs = true
showAuthor = false
# showAuthorBottom = false
showHero = false
# heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
showBreadcrumbs = false
showDraftLabel = true
showEdit = false
# editURL = "https://github.com/username/repo/"
@@ -55,27 +75,54 @@ mainSections = ["posts"]
invertPagination = false
showReadingTime = true
showTableOfContents = true
showTaxonomies = false
showAuthorsBadges = false
# showRelatedContent = false
# relatedContentLimit = 3
showTaxonomies = true
showAuthorsBadges = false
showWordCount = true
showSummary = true
sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"]
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
showZenMode = false
[list]
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
showBreadcrumbs = false
showSummary = true
showTableOfContents = false
showCards = false
groupByYear = true
cardView = false
showSummary = false
showViews = false
showLikes = false
showTableOfContents = true
showCards = true
orderByWeight = true
groupByYear = false
cardView = true
cardViewScreenWidth = false
constrainItemsWidth = true
constrainItemsWidth = false
[sitemap]
excludedKinds = []
excludedKinds = ["taxonomy", "term"]
[taxonomy]
showTermCount = true
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false
showViews = false
showLikes = false
showTableOfContents = false
cardView = false
[term]
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false
showViews = false
showLikes = false
showTableOfContents = true
groupByYear = false
cardView = false
cardViewScreenWidth = false
[firebase]
# apiKey = "XXXXXX"
@@ -90,8 +137,31 @@ mainSections = ["posts"]
# site = "ABC12345"
# domain = "llama.yoursite.com"
[umamiAnalytics]
# websiteid = "ABC12345"
# domain = "llama.yoursite.com"
# dataDomains = "yoursite.com,yoursite2.com"
# scriptName = ""
# enableTrackEvent = true
[selineAnalytics]
# token = "XXXXXX"
# enableTrackEvent = true
[buymeacoffee]
# identifier = ""
# globalWidget = true
# globalWidgetMessage = "Hello"
# globalWidgetColor = "#FFDD00"
# globalWidgetPosition = "Right"
[verification]
# google = ""
# bing = ""
# pinterest = ""
# yandex = ""
# fediverse = ""
[rssnext]
# feedId = ""
# userId = ""