From d55ba6312443fe8b1d447aa18ac1d0daa800b446 Mon Sep 17 00:00:00 2001 From: mobeicanyue <81098819+mobeicanyue@users.noreply.github.com> Date: Fri, 8 Mar 2024 19:56:11 +0800 Subject: [PATCH] Update navbar configuration and disable category page --- _config.fluid.yml | 4 ++-- _config.yml | 14 ++++---------- source/_posts/Blog-seo-optimization.md | 2 +- source/_posts/Build-the-environment.md | 2 +- .../Caddy-installation-and-usage-tutorial.md | 2 ++ source/_posts/Compress-deploy-code-size.md | 2 +- source/_posts/Deploying-a-Web-Disk-of-Your-Own.md | 5 ++--- source/_posts/Enable-blog-comment.md | 2 +- .../Fail2ban-installation-and-usage-tutorial.md | 5 ++++- source/_posts/Fluid-theme-installation.md | 2 +- source/_posts/Generate-unique-links.md | 3 ++- source/_posts/Hexo-Fluid-set-footer.md | 2 +- source/_posts/How-to-Deploy-a-new-server.md | 5 +++++ source/_posts/My-first-hexo-blog.md | 2 +- .../Nginx-installation-and-usage-tutorial.md | 2 ++ .../_posts/Open-Source-Software-Recommendations.md | 2 +- .../Umami-installation-and-usage-tutorial.md | 1 - source/_posts/Use-lxgw-wenkai-in-fluid.md | 2 +- source/_posts/Using-uptime-kuma-as-Status-Page.md | 1 - 19 files changed, 32 insertions(+), 28 deletions(-) diff --git a/_config.fluid.yml b/_config.fluid.yml index edf6bc2d..a47288a1 100644 --- a/_config.fluid.yml +++ b/_config.fluid.yml @@ -345,7 +345,7 @@ navbar: menu: - { key: "home", link: "/", icon: "iconfont icon-home-fill" } - { key: "archive", link: "/archives/", icon: "iconfont icon-archive-fill" } - - { key: "category", link: "/categories/", icon: "iconfont icon-category-fill" } + # - { key: "category", link: "/categories/", icon: "iconfont icon-category-fill" } - { key: "tag", link: "/tags/", icon: "iconfont icon-tags-fill" } - { key: "RSS", link: "/atom.xml", icon: "iconfont icon-rss" } - { key: "随机", link: "#", icon: "iconfont icon-code"} @@ -920,7 +920,7 @@ archive: # Category Page #--------------------------- category: - enable: true + enable: false banner_img: https://www.yuanxiapi.cn/api/bing/ banner_img_height: 60 banner_mask_alpha: 0.3 diff --git a/_config.yml b/_config.yml index 1cddb430..4829e480 100644 --- a/_config.yml +++ b/_config.yml @@ -5,8 +5,8 @@ # Site title: 漠北残月的博客 subtitle: '漠北残月,江南垂柳' -description: '欢迎来到漠北残月的博客' -keywords: 漠北残月 , mobeicanyue, technology, daily, share +description: '欢迎来到漠北残月的博客,这里是一个技术分享的地方,也是一个记录生活的地方。' +keywords: 漠北残月, 博客, mobeicanyue, technology, daily, share author: mobeicanyue language: zh-CN timezone: 'Asia/Shanghai' @@ -84,7 +84,7 @@ prismjs: # order_by: Posts order. (Order by date descending by default) index_generator: path: '' - per_page: 10 + per_page: 12 order_by: -date # Category & Tag @@ -107,7 +107,7 @@ updated_option: 'mtime' # Pagination ## Set per_page to 0 to disable pagination -per_page: 10 +per_page: 12 pagination_dir: page # Include / Exclude file(s) @@ -121,12 +121,6 @@ ignore: ## Themes: https://hexo.io/themes/ theme: fluid -# Deployment -## Docs: https://hexo.io/docs/one-command-deployment -deploy: - type: 'git' - repo: 'git@github.com:mobeicanyue/mobeicanyue.github.io.git' - branch: 'gh-pages' sitemap: rel: true diff --git a/source/_posts/Blog-seo-optimization.md b/source/_posts/Blog-seo-optimization.md index e39b265c..7d757392 100644 --- a/source/_posts/Blog-seo-optimization.md +++ b/source/_posts/Blog-seo-optimization.md @@ -3,7 +3,7 @@ title: 博客 SEO 优化 abbrlink: d6d74ca date: 2024-01-28 12:56:50 tags: -- seo + - SEO --- > 写博客的目的是为了记录自己的学习过程与分享日常。 diff --git a/source/_posts/Build-the-environment.md b/source/_posts/Build-the-environment.md index 928f555c..9aa4ce0b 100644 --- a/source/_posts/Build-the-environment.md +++ b/source/_posts/Build-the-environment.md @@ -3,7 +3,7 @@ title: Hexo 环境搭建 abbrlink: dc0bbd22 date: 2023-12-28 19:08:02 tags: -- hexo + - Hexo --- 我是 `Linux` 操作系统 `Manjaro` 分支,所以文章着重介绍 `Linux` 下的环境搭建。 diff --git a/source/_posts/Caddy-installation-and-usage-tutorial.md b/source/_posts/Caddy-installation-and-usage-tutorial.md index c7509943..0aaa8e5c 100644 --- a/source/_posts/Caddy-installation-and-usage-tutorial.md +++ b/source/_posts/Caddy-installation-and-usage-tutorial.md @@ -2,6 +2,8 @@ title: Caddy 安装与使用教程 tags: - Caddy + - 部署 + - 运维 abbrlink: f3ac7ef6 date: 2024-03-04 04:56:00 --- diff --git a/source/_posts/Compress-deploy-code-size.md b/source/_posts/Compress-deploy-code-size.md index 7149a903..2b7303ee 100644 --- a/source/_posts/Compress-deploy-code-size.md +++ b/source/_posts/Compress-deploy-code-size.md @@ -1,7 +1,7 @@ --- title: 压缩前端代码 tags: - - hexo + - Hexo - 优化 abbrlink: a89b8953 date: 2023-12-28 02:51:41 diff --git a/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md b/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md index 425f71f9..bdacd5b2 100644 --- a/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md +++ b/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md @@ -1,9 +1,8 @@ --- -title: 部署自己的网盘 — Alist 安装配置教程 +title: 部署自己的网盘 — AList 安装配置教程 tags: - 部署 - - Alist - - 1Panel + - AList abbrlink: 9c18a796 date: 2024-01-17 20:50:59 --- diff --git a/source/_posts/Enable-blog-comment.md b/source/_posts/Enable-blog-comment.md index 7ac1f99f..afb858b1 100644 --- a/source/_posts/Enable-blog-comment.md +++ b/source/_posts/Enable-blog-comment.md @@ -3,7 +3,7 @@ title: 启用博客评论 abbrlink: 7671c28e date: 2023-12-29 16:39:46 tags: -- Giscus + - Giscus --- {% note secondary %} diff --git a/source/_posts/Fail2ban-installation-and-usage-tutorial.md b/source/_posts/Fail2ban-installation-and-usage-tutorial.md index b1a98fea..b6a2b771 100644 --- a/source/_posts/Fail2ban-installation-and-usage-tutorial.md +++ b/source/_posts/Fail2ban-installation-and-usage-tutorial.md @@ -3,7 +3,10 @@ title: Fail2ban 安装使用教程 abbrlink: 1acd162e date: 2024-02-19 12:06:33 tags: -- Fail2ban + - 运维 + - 服务器 + - 部署 + - Fail2ban --- ![Fail2ban](fail2ban.webp) diff --git a/source/_posts/Fluid-theme-installation.md b/source/_posts/Fluid-theme-installation.md index 277dae86..5de13c3e 100644 --- a/source/_posts/Fluid-theme-installation.md +++ b/source/_posts/Fluid-theme-installation.md @@ -1,7 +1,7 @@ --- title: 安装 Fluid 主题 tags: - - hexo + - Hexo - fluid - 部署 abbrlink: 5eba38dc diff --git a/source/_posts/Generate-unique-links.md b/source/_posts/Generate-unique-links.md index 422ee0eb..c5b6418c 100644 --- a/source/_posts/Generate-unique-links.md +++ b/source/_posts/Generate-unique-links.md @@ -3,7 +3,8 @@ title: Hexo 生成文章唯一永久链接 abbrlink: 6a24c2b date: 2023-12-29 10:27:37 tags: -- 优化 + - Hexo + - 优化 --- diff --git a/source/_posts/Hexo-Fluid-set-footer.md b/source/_posts/Hexo-Fluid-set-footer.md index 18bdc7ff..1e68b7c5 100644 --- a/source/_posts/Hexo-Fluid-set-footer.md +++ b/source/_posts/Hexo-Fluid-set-footer.md @@ -1,7 +1,7 @@ --- title: Hexo Fluid 设置页脚 tags: - - hexo + - Hexo - fluid abbrlink: 2422058f date: 2023-12-28 02:26:14 diff --git a/source/_posts/How-to-Deploy-a-new-server.md b/source/_posts/How-to-Deploy-a-new-server.md index 056c0598..b8cf2f7b 100644 --- a/source/_posts/How-to-Deploy-a-new-server.md +++ b/source/_posts/How-to-Deploy-a-new-server.md @@ -3,6 +3,11 @@ title: 从零开始部署服务器和网站 sticky: 102 tags: - 部署 + - 运维 + - 服务器 + - SSH + - ufw + - Fail2ban abbrlink: 4cde56ee date: 2024-03-01 22:25:20 --- diff --git a/source/_posts/My-first-hexo-blog.md b/source/_posts/My-first-hexo-blog.md index e87a623d..ee9b9619 100644 --- a/source/_posts/My-first-hexo-blog.md +++ b/source/_posts/My-first-hexo-blog.md @@ -1,7 +1,7 @@ --- title: Hexo 博客部署教程 tags: - - hexo + - Hexo - Github - Github-Pages - Github-Actions diff --git a/source/_posts/Nginx-installation-and-usage-tutorial.md b/source/_posts/Nginx-installation-and-usage-tutorial.md index c6311fe4..727860a0 100644 --- a/source/_posts/Nginx-installation-and-usage-tutorial.md +++ b/source/_posts/Nginx-installation-and-usage-tutorial.md @@ -2,6 +2,8 @@ title: Nginx 安装与使用教程 tags: - Nginx + - 部署 + - 运维 abbrlink: 6645bed3 date: 2024-03-02 14:04:40 --- diff --git a/source/_posts/Open-Source-Software-Recommendations.md b/source/_posts/Open-Source-Software-Recommendations.md index 6b81fd10..ab653c7a 100644 --- a/source/_posts/Open-Source-Software-Recommendations.md +++ b/source/_posts/Open-Source-Software-Recommendations.md @@ -4,7 +4,7 @@ sticky: 101 abbrlink: f297b285 date: 2024-01-25 14:05:33 tags: -- open-source + - open-source --- - `1Panel`,现代化、开源的 Linux 服务器运维管理面板:{% post_link 1panel-installation-and-usage-tutorial '1Panel 安装配置教程' %} diff --git a/source/_posts/Umami-installation-and-usage-tutorial.md b/source/_posts/Umami-installation-and-usage-tutorial.md index 24687951..28a78b53 100644 --- a/source/_posts/Umami-installation-and-usage-tutorial.md +++ b/source/_posts/Umami-installation-and-usage-tutorial.md @@ -3,7 +3,6 @@ title: Umami 安装使用教程 tags: - 部署 - Umami - - 1Panel abbrlink: f7a090e6 date: 2024-01-24 11:55:35 --- diff --git a/source/_posts/Use-lxgw-wenkai-in-fluid.md b/source/_posts/Use-lxgw-wenkai-in-fluid.md index c5c594d3..da1e0ca7 100644 --- a/source/_posts/Use-lxgw-wenkai-in-fluid.md +++ b/source/_posts/Use-lxgw-wenkai-in-fluid.md @@ -1,7 +1,7 @@ --- title: 在 Fluid 主题中使用霞鹜文楷 tags: - - hexo + - Hexo - fluid abbrlink: f24b41b1 date: 2023-12-27 14:58:04 diff --git a/source/_posts/Using-uptime-kuma-as-Status-Page.md b/source/_posts/Using-uptime-kuma-as-Status-Page.md index c4809a92..8b41c632 100644 --- a/source/_posts/Using-uptime-kuma-as-Status-Page.md +++ b/source/_posts/Using-uptime-kuma-as-Status-Page.md @@ -3,7 +3,6 @@ title: 使用 uptime-kuma 作为 Status Page tags: - 部署 - Uptime-kuma - - 1Panel abbrlink: c7c2ca22 date: 2024-01-04 11:56:45 ---