diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d298be1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ \ No newline at end of file diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..ae6fad7 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,26 @@ +.footer-icp { + text-align: center; + color: #999; /* 浅灰色 */ + font-size: 10pt; +} + +.footer-icp a { + color: chocolate; /* 稍亮的颜色 */ +} + +#cc-license { + color: rgba(var(--color-neutral-400),var(--tw-text-opacity,1)); + font-size: 10pt; +} + +#cc-license a { + display: inline-block; + color:chocolate; +} + +#cc-license img{ + display: inline-block; + height: 1em; + margin-left: 1px; + vertical-align: text-bottom; +} \ No newline at end of file diff --git a/assets/img/avatar.jpg b/assets/img/avatar.jpg new file mode 100644 index 0000000..1d58015 Binary files /dev/null and b/assets/img/avatar.jpg differ diff --git a/assets/img/avatar.png b/assets/img/avatar.png deleted file mode 100644 index ec7bec5..0000000 Binary files a/assets/img/avatar.png and /dev/null differ diff --git a/config/_default/config.toml b/config/_default/config.toml index 5f18f97..267e5ea 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -4,7 +4,7 @@ theme = "congo" baseURL = "https://uniu.net.cn/" -defaultContentLanguage = "zh" +defaultContentLanguage = "zh-Hans" enableRobotsTXT = true summaryLength = 0 diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml new file mode 100644 index 0000000..8101772 --- /dev/null +++ b/config/_default/languages.en.toml @@ -0,0 +1,67 @@ +languageCode = "en" +languageName = "English" +languageDirection = "ltr" +weight = 1 +copyright = '

This work © 2024 by WUNIU is licensed under CC BY-SA 4.0

' + +title = "Uni's Notitia" +# copyright = "Copy, _right?_ :thinking_face:" + +[params] + dateFormat = "30/05/2000" + + # mainSections = ["section1", "section2"] + # description = "My awesome website" + +[params.author] + name = "WUNIU" + image = "img/avatar.jpg" + headline = "Be Steady, Patient, and Studious." + bio = "Who loves everything novel." + links = [ + { email = "mailto:wuniu@riseup.net" }, + # { link = "https://link-to-some-website.com/" }, + # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, + # { apple = "https://www.apple.com" }, + # { blogger = "https://username.blogspot.com/" }, + # { codepen = "https://codepen.io/username" }, + # { dev = "https://dev.to/username" }, + # { discord = "https://discord.gg/invitecode" }, + # { dribbble = "https://dribbble.com/username" }, + # { facebook = "https://facebook.com/username" }, + # { flickr = "https://www.flickr.com/photos/username/" }, + # { foursquare = "https://foursquare.com/username" }, + # { github = "https://github.com/username" }, + # { gitlab = "https://gitlab.com/username" }, + # { google = "https://www.google.com/" }, + # { google-scholar = "https://scholar.google.com/citations?user=user-id" }, + # { hashnode = "https://username.hashnode.dev" }, + # { instagram = "https://instagram.com/username" }, + # { keybase = "https://keybase.io/username" }, + # { kickstarter = "https://www.kickstarter.com/profile/username" }, + # { lastfm = "https://lastfm.com/user/username" }, + # { linkedin = "https://linkedin.com/in/username" }, + # { mastodon = "https://mastodon.instance/@username" }, + # { medium = "https://medium.com/username" }, + # { mendeley = "https://www.mendeley.com/" }, + # { microsoft = "https://www.microsoft.com/" }, + # { orcid = "https://orcid.org/userid" }, + # { patreon = "https://www.patreon.com/username" }, + # { pinterest = "https://pinterest.com/username" }, + # { reddit = "https://reddit.com/user/username" }, + # { researchgate = "https://www.researchgate.net/profile/username" }, + # { slack = "https://workspace.url/team/userid" }, + # { snapchat = "https://snapchat.com/add/username" }, + # { soundcloud = "https://soundcloud.com/username" }, + # { stack-overflow = "https://stackoverflow.com/users/userid/username" }, + # { steam = "https://steamcommunity.com/profiles/userid" }, + # { telegram = "https://t.me/username" }, + # { threads = "https://threads.net/@username" }, + # { tiktok = "https://tiktok.com/@username" }, + # { tumblr = "https://username.tumblr.com" }, + # { twitch = "https://twitch.tv/username" }, + # { whatsapp = "https://wa.me/phone-number" }, + # { x-twitter = "https://twitter.com/username" }, + # { youtube = "https://youtube.com/username" }, + # { xing = "https://xing.com/profile/username" }, + ] diff --git a/config/_default/languages.zh.toml b/config/_default/languages.zh-Hans.toml similarity index 79% rename from config/_default/languages.zh.toml rename to config/_default/languages.zh-Hans.toml index bebbfb3..f491f25 100644 --- a/config/_default/languages.zh.toml +++ b/config/_default/languages.zh-Hans.toml @@ -1,7 +1,8 @@ -languageCode = "zh" -languageName = "Chinese" +languageCode = "zh-Hans" +languageName = "简体中文" languageDirection = "ltr" weight = 1 +copyright='

本作品© 2024 粘土人著作权适用 CC BY-SA 4.0协议。

' title = "悠猊记事簿" # copyright = "Copy, _right?_ :thinking_face:" @@ -13,9 +14,9 @@ title = "悠猊记事簿" # description = "My awesome website" [params.author] - name = "伏虎" - image = "img/avatar.png" - headline = "稳重,安宁,好学。" + name = "粘土人" + image = "img/avatar.jpg" + headline = "稳重,安宁,好学" bio = "热爱一切新知识的法学生。" links = [ { email = "mailto:wuniu@riseup.net" }, diff --git a/config/_default/params.toml b/config/_default/params.toml index 1963780..9b87faf 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -32,7 +32,7 @@ fingerprintAlgorithm = "sha256" showScrollToTop = true [homepage] - layout = "page" # valid options: page, profile, custom + layout = "profile" # valid options: page, profile, custom showRecent = false recentLimit = 5 diff --git a/layouts/partials/extend-footer.html b/layouts/partials/extend-footer.html new file mode 100644 index 0000000..cc92db0 --- /dev/null +++ b/layouts/partials/extend-footer.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/resources/_gen/images/img/avatar_hu15140956947637413177.png b/resources/_gen/images/img/avatar_hu15140956947637413177.png new file mode 100644 index 0000000..03984c5 Binary files /dev/null and b/resources/_gen/images/img/avatar_hu15140956947637413177.png differ diff --git a/resources/_gen/images/img/avatar_hu18349894378186466518.png b/resources/_gen/images/img/avatar_hu18349894378186466518.png new file mode 100644 index 0000000..bd881c6 Binary files /dev/null and b/resources/_gen/images/img/avatar_hu18349894378186466518.png differ diff --git a/resources/_gen/images/img/avatar_hu8471304252224774167.jpg b/resources/_gen/images/img/avatar_hu8471304252224774167.jpg new file mode 100644 index 0000000..71a2d08 Binary files /dev/null and b/resources/_gen/images/img/avatar_hu8471304252224774167.jpg differ diff --git a/resources/_gen/images/img/avatar_hu9049390172818741278.jpg b/resources/_gen/images/img/avatar_hu9049390172818741278.jpg new file mode 100644 index 0000000..e162a82 Binary files /dev/null and b/resources/_gen/images/img/avatar_hu9049390172818741278.jpg differ