From c0900ae0c90f19ac301d6e3437274874dc8e15d1 Mon Sep 17 00:00:00 2001 From: Sun Wuan Date: Sun, 12 May 2024 15:21:44 +0800 Subject: [PATCH] new domain(du1ab.org), new place(cloudflare) --- .gitmodules | 3 + config.yml | 75 ++++++++++--------- ...44\344\270\252\351\227\256\351\242\230.md" | 2 +- themes/hugo-PaperMod | 1 + 4 files changed, 44 insertions(+), 37 deletions(-) create mode 100644 .gitmodules create mode 160000 themes/hugo-PaperMod diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a100308 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-PaperMod"] + path = themes/hugo-PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/config.yml b/config.yml index 625d6e6..27d4d93 100644 --- a/config.yml +++ b/config.yml @@ -1,4 +1,4 @@ -baseURL: "https://www.du1ab.one/" +baseURL: "https://du1ab.org/" title: Wuan's Blog paginate: 5 theme: papermod @@ -35,7 +35,6 @@ languages: # 日常综合 cn: languageName: ":cn:" - languageAltTitle: "MaDe in China by humans" title: Wuan's Blog weight: 1 menu: @@ -52,11 +51,12 @@ languages: title: Search url: search/ weight: 3 + params: + languageAltTitle: "MaDe in China by humans" # 佛法实践 ff: languageName: ":earth_asia:" - languageAltTitle: "Made on Earth by humans" title: Wuan's Blog weight: 2 menu: @@ -73,45 +73,48 @@ languages: title: Search url: search/ weight: 3 - homeInfoParams: - Title: "Do you wanna be the one" - Content: | - 我不确定此世有无轮回,有无因果业报。但若它们存在,我死后肯定会出生在美好世界中。 - 我不确定此世有无轮回,有无因果业报。即使没有,我仍然在死后可以为自己和家人博得美德。 - 若恶人有恶报,那么我不对任何人怀有恶意,不造恶业,我将来肯定不会遇到不幸。 - 若恶人没有恶报,那么至少我能做到无愧于他人。 - - —— 出于[《卡拉玛经》](https://zh.wikipedia.org/wiki/%E5%8D%A1%E6%8B%89%E7%8E%9B%E7%BB%8F) + params: + languageAltTitle: "Made on Earth by humans" + homeInfoParams: + Title: "Do you wanna be the one" + Content: | + 我不确定此世有无轮回,有无因果业报。但若它们存在,我死后肯定会出生在美好世界中。 + 我不确定此世有无轮回,有无因果业报。即使没有,我仍然在死后可以为自己和家人博得美德。 + 若恶人有恶报,那么我不对任何人怀有恶意,不造恶业,我将来肯定不会遇到不幸。 + 若恶人没有恶报,那么至少我能做到无愧于他人。 + + —— 出于[《卡拉玛经》](https://zh.wikipedia.org/wiki/%E5%8D%A1%E6%8B%89%E7%8E%9B%E7%BB%8F) # 个人简介 me: languageName: ":penguin:" - languageAltTitle: "About me" title: Wuan's Blog weight: 3 - profileMode: - enabled: true - title: ABOUT - subtitle: "| M | E |" - # imageUrl: "placeholder.jpg" - # imageTitle: my image - # imageWidth: 500 - # imageHeight: 498 - buttons: - - name: 计算机 - url: ../it - - name: 八正道 - url: ../ff - # 交换链接 - socialIcons: - - name: twitter - url: "https://twitter.com/s5unty" - - name: github - url: "https://github.com/s5unty" - - name: telegram - url: "https://telegram.me/s5unty" - - name: email - url: "mailto:s5unty@gmail.com" + params: + languageAltTitle: "About me" + profileMode: + enabled: true + title: ABOUT + subtitle: "| M | E |" + # imageUrl: "placeholder.jpg" + # imageTitle: my image + # imageWidth: 500 + # imageHeight: 498 + buttons: + - name: 计算机 + url: ../ + - name: 八正道 + url: ../ff + # 交换链接 + socialIcons: + - name: twitter + url: "https://twitter.com/s5unty" + - name: github + url: "https://github.com/s5unty" + - name: telegram + url: "https://telegram.me/s5unty" + - name: email + url: "mailto:s5unty@gmail.com" params: # to enable google analytics, opengraph, twitter-cards and schema. diff --git "a/content/posts/2006-12-12-\350\247\243\345\206\263fcitx\345\234\250ubuntu\344\270\213\347\232\204\344\270\244\344\270\252\351\227\256\351\242\230.md" "b/content/posts/2006-12-12-\350\247\243\345\206\263fcitx\345\234\250ubuntu\344\270\213\347\232\204\344\270\244\344\270\252\351\227\256\351\242\230.md" index 5269e63..af2a6da 100644 --- "a/content/posts/2006-12-12-\350\247\243\345\206\263fcitx\345\234\250ubuntu\344\270\213\347\232\204\344\270\244\344\270\252\351\227\256\351\242\230.md" +++ "b/content/posts/2006-12-12-\350\247\243\345\206\263fcitx\345\234\250ubuntu\344\270\213\347\232\204\344\270\244\344\270\252\351\227\256\351\242\230.md" @@ -5,7 +5,7 @@ title: 解决fcitx在ubuntu下的两个问题 --- 按照 ubuntu 官方 wiki 教你用 simsun 美化的教程后,出现了候选字显示为方框的问题: -发现是由 `/etc/fonts/language-selector.conf` 这个文件引起的,还原这个文件就解决了 fcitx 的问题;但是还原后达不到美化的目的,[这篇](参考http://s5unty.blogspot.com/2006/12/ubuntusimsun.html)。注意备份 +发现是由 `/etc/fonts/language-selector.conf` 这个文件引起的,还原这个文件就解决了 fcitx 的问题;但是还原后达不到美化的目的,[参考这篇](http://s5unty.blogspot.com/2006/12/ubuntusimsun.html)。注意备份 安装 fcitx 后无法在 qt 程序中(如 psi, bouml)启用的问题 不要设置这个环境变量 QT_IM_MODULE,用 export -n QT_IM_MODULE 修复即可。 diff --git a/themes/hugo-PaperMod b/themes/hugo-PaperMod new file mode 160000 index 0000000..3f50861 --- /dev/null +++ b/themes/hugo-PaperMod @@ -0,0 +1 @@ +Subproject commit 3f50861a0ced88f9b614a43662edeb4c0bc45da8