From 3545ac6b1f9039df82f05b7aba4a8af379e35a76 Mon Sep 17 00:00:00 2001 From: SivanLaai Date: Wed, 27 Dec 2023 21:47:21 +0800 Subject: [PATCH] update passages --- README.md | 2 +- config.toml | 4 ++-- config.yml.bak | 2 +- content/posts/projects/rime/info.md | 4 ++-- content/posts/technology/auto_deploy_with_obsidian.md | 4 ++-- data/friends.yml | 4 ++-- deploy.sh | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 343b92f..7ae5417 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ 文章内容所见即所得。写完文章后快捷键 ```Crtl + U```快速发布文章,然后等待GitHub Action部署完成,刷新页面就可以看到新文章,如下为展示的效果: -[点击预览](https://www.laais.cn/video/obsdidian_hugo_auto_deploy.mp4) +[点击预览](https://blog.laais.cn/video/obsdidian_hugo_auto_deploy.mp4) # 快速开始 diff --git a/config.toml b/config.toml index a8af8fc..3254053 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ title = "SivanLaai's Blog" -baseURL = "https://www.laais.cn" +baseURL = "https://blog.laais.cn" # theme # 主题 theme = "FixIt" @@ -859,7 +859,7 @@ ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"] [author] name = "SivanLaai" email = "lyhhap@163.com" - link = "https://www.laais.cn" + link = "https://blog.laais.cn" # Sitemap config # 网站地图配置 diff --git a/config.yml.bak b/config.yml.bak index b471290..f30b613 100644 --- a/config.yml.bak +++ b/config.yml.bak @@ -1,4 +1,4 @@ -baseURL: https://www.laais.cn +baseURL: https://blog.laais.cn # baseURL: https://www.sulvblog.cn # 绑定的域名 languageCode: zh-cn # en-us title: SivanLaai's Blog diff --git a/content/posts/projects/rime/info.md b/content/posts/projects/rime/info.md index c8577ac..204cdde 100644 --- a/content/posts/projects/rime/info.md +++ b/content/posts/projects/rime/info.md @@ -228,7 +228,7 @@ tags: -- [查看安装方法](https://www.laais.cn/posts/projects/rime/installation/) +- [查看安装方法](https://blog.laais.cn/posts/projects/rime/installation/) @@ -320,7 +320,7 @@ tags: - 2.修复小鹤双拼简繁转换问题 - 3.自然码支持简繁转换问题 -#### [查看全部历史](https://www.laais.cn/posts/projects/rime/update_history/) +#### [查看全部历史](https://blog.laais.cn/posts/projects/rime/update_history/) diff --git a/content/posts/technology/auto_deploy_with_obsidian.md b/content/posts/technology/auto_deploy_with_obsidian.md index bbb1139..a095b06 100644 --- a/content/posts/technology/auto_deploy_with_obsidian.md +++ b/content/posts/technology/auto_deploy_with_obsidian.md @@ -106,8 +106,8 @@ services: MYSQL_USER: user MYSQL_PASSWORD: PASSWORD SITE_NAME: "SivanLaai's Blog" - SITE_URL: 'http://www.laais.cn' - SECURE_DOMAINS: 'www.laais.cn' + SITE_URL: 'http://blog.laais.cn' + SECURE_DOMAINS: 'blog.laais.cn' AUTHOR_EMAIL: 'eamil@163.com' SMTP_PASS: SMTP_PASSWORD SMTP_USER: qqid@qq.com diff --git a/data/friends.yml b/data/friends.yml index aba8454..74ee380 100644 --- a/data/friends.yml +++ b/data/friends.yml @@ -1,4 +1,4 @@ - nickname: SivanLaai - avatar: https://www.laais.cn/avatar.png - url: https://www.laais.cn + avatar: https://blog.laais.cn/avatar.png + url: https://blog.laais.cn description: It will blossome finally. \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 3d42310..e030291 100644 --- a/deploy.sh +++ b/deploy.sh @@ -19,7 +19,7 @@ hugo --gc --minify --cleanDestinationDir cd public # deploy to github pages -echo 'www.laais.cn' > CNAME +echo 'blog.laais.cn' > CNAME username="SivanLaai" email="lyhhap@163.com" git config --global user.name "$username"