From 8a7a59bad4bd905fc401b00bb6f14ef168e5fdfd Mon Sep 17 00:00:00 2001 From: mobeicanyue <81098819+mobeicanyue@users.noreply.github.com> Date: Fri, 8 Mar 2024 19:36:48 +0800 Subject: [PATCH] Add categories to blog posts --- _config.yml | 14 ++++---------- .../1panel-applies-for-domain-certificate.md | 2 ++ .../1panel-installation-and-usage-tutorial.md | 4 ++++ source/_posts/2024-happy-new-year.md | 2 ++ source/_posts/Blog-seo-optimization.md | 4 +++- source/_posts/Build-the-environment.md | 4 +++- .../Caddy-installation-and-usage-tutorial.md | 6 ++++++ source/_posts/Compress-deploy-code-size.md | 4 +++- source/_posts/Deploying-a-Web-Disk-of-Your-Own.md | 8 +++++--- source/_posts/Enable-blog-comment.md | 4 +++- .../Fail2ban-installation-and-usage-tutorial.md | 8 +++++++- .../Fix-article-updated-time-on-github-pages.md | 2 ++ source/_posts/Fluid-theme-installation.md | 4 +++- source/_posts/Generate-unique-links.md | 4 +++- source/_posts/Help-the-elderly.md | 2 ++ source/_posts/Hexo-Fluid-set-footer.md | 4 +++- source/_posts/How-to-Deploy-a-new-server.md | 9 +++++++++ source/_posts/Java-Casual-talk.md | 2 ++ source/_posts/My-2023-Chronicles-and-Insights.md | 2 ++ source/_posts/My-first-hexo-blog.md | 5 ++++- .../Nginx-installation-and-usage-tutorial.md | 6 ++++++ .../_posts/Open-Source-Software-Recommendations.md | 6 +++++- source/_posts/Tutorial-of-Building-a-blog.md | 2 ++ .../Umami-installation-and-usage-tutorial.md | 4 +++- source/_posts/Use-lxgw-wenkai-in-fluid.md | 4 +++- source/_posts/Using-postgresql-on-ArchLinux.md | 2 ++ source/_posts/Using-uptime-kuma-as-Status-Page.md | 4 +++- .../_posts/Writing-Umami-s-uv-pv-access-display.md | 2 ++ 28 files changed, 98 insertions(+), 26 deletions(-) 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/1panel-applies-for-domain-certificate.md b/source/_posts/1panel-applies-for-domain-certificate.md index 634bd302..a2a74a4c 100644 --- a/source/_posts/1panel-applies-for-domain-certificate.md +++ b/source/_posts/1panel-applies-for-domain-certificate.md @@ -5,6 +5,8 @@ tags: - Let's-Encrypt abbrlink: e6ee4a29 date: 2024-02-02 14:00:09 +categories: + - [技术, 1Panel] --- > 域名证书是网站安全的基础,它可以保护网站的数据传输安全,防止中间人攻击。而 Let's Encrypt 是一个免费的证书颁发机构,它提供了免费的域名证书,可以让我们的网站免费使用 HTTPS 协议。 diff --git a/source/_posts/1panel-installation-and-usage-tutorial.md b/source/_posts/1panel-installation-and-usage-tutorial.md index 8fee2844..bf0665e8 100644 --- a/source/_posts/1panel-installation-and-usage-tutorial.md +++ b/source/_posts/1panel-installation-and-usage-tutorial.md @@ -7,6 +7,10 @@ tags: - 部署 abbrlink: 15c02856 date: 2023-12-28 15:54:04 +categories: + - [技术, 1Panel] + - [技术, 部署] + - [技术, 运维] --- > 本文档为 1panel 配置教程,主要介绍 1panel 的配置及使用。更多信息请参照官网:https://1panel.cn diff --git a/source/_posts/2024-happy-new-year.md b/source/_posts/2024-happy-new-year.md index 779752b8..d4df4cb3 100644 --- a/source/_posts/2024-happy-new-year.md +++ b/source/_posts/2024-happy-new-year.md @@ -4,6 +4,8 @@ tags: - 日常 abbrlink: 1c0214de date: 2024-01-01 00:19:00 +categories: + - [随笔, 日常] --- 祝大家元旦快乐!!! diff --git a/source/_posts/Blog-seo-optimization.md b/source/_posts/Blog-seo-optimization.md index e39b265c..cb85bc0f 100644 --- a/source/_posts/Blog-seo-optimization.md +++ b/source/_posts/Blog-seo-optimization.md @@ -3,7 +3,9 @@ title: 博客 SEO 优化 abbrlink: d6d74ca date: 2024-01-28 12:56:50 tags: -- seo + - SEO +categories: + - [技术, SEO] --- > 写博客的目的是为了记录自己的学习过程与分享日常。 diff --git a/source/_posts/Build-the-environment.md b/source/_posts/Build-the-environment.md index 928f555c..58e09104 100644 --- a/source/_posts/Build-the-environment.md +++ b/source/_posts/Build-the-environment.md @@ -3,7 +3,9 @@ title: Hexo 环境搭建 abbrlink: dc0bbd22 date: 2023-12-28 19:08:02 tags: -- hexo + - Hexo +categories: + - [技术, 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..6c0401f9 100644 --- a/source/_posts/Caddy-installation-and-usage-tutorial.md +++ b/source/_posts/Caddy-installation-and-usage-tutorial.md @@ -2,8 +2,14 @@ title: Caddy 安装与使用教程 tags: - Caddy + - 部署 + - 运维 abbrlink: f3ac7ef6 date: 2024-03-04 04:56:00 +categories: + - [技术, Caddy] + - [技术, 部署] + - [技术, 运维] --- ![caddy](caddy-logo.webp) diff --git a/source/_posts/Compress-deploy-code-size.md b/source/_posts/Compress-deploy-code-size.md index 7149a903..be4a0f95 100644 --- a/source/_posts/Compress-deploy-code-size.md +++ b/source/_posts/Compress-deploy-code-size.md @@ -1,10 +1,12 @@ --- title: 压缩前端代码 tags: - - hexo + - Hexo - 优化 abbrlink: a89b8953 date: 2023-12-28 02:51:41 +categories: + - [技术, Hexo] --- 众所周知,我们在写 HTML CSS 和 JS 文件时文件中会包含许多换行和空格。 然而,这些换行和空格对浏览器而言并不具备实际意义,反而可能降低页面的加载速度,会对页面的渲染性能造成一定影响。比如我们看个 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..d4d14357 100644 --- a/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md +++ b/source/_posts/Deploying-a-Web-Disk-of-Your-Own.md @@ -1,11 +1,13 @@ --- -title: 部署自己的网盘 — Alist 安装配置教程 +title: 部署自己的网盘 — AList 安装配置教程 tags: - 部署 - - Alist - - 1Panel + - AList abbrlink: 9c18a796 date: 2024-01-17 20:50:59 +categories: + - [技术, 部署] + - [技术, AList] --- {% note secondary %} diff --git a/source/_posts/Enable-blog-comment.md b/source/_posts/Enable-blog-comment.md index 7ac1f99f..2f7c8ebe 100644 --- a/source/_posts/Enable-blog-comment.md +++ b/source/_posts/Enable-blog-comment.md @@ -3,7 +3,9 @@ title: 启用博客评论 abbrlink: 7671c28e date: 2023-12-29 16:39:46 tags: -- Giscus + - Giscus +categories: + - [技术, Hexo] --- {% note secondary %} diff --git a/source/_posts/Fail2ban-installation-and-usage-tutorial.md b/source/_posts/Fail2ban-installation-and-usage-tutorial.md index b1a98fea..e1e90833 100644 --- a/source/_posts/Fail2ban-installation-and-usage-tutorial.md +++ b/source/_posts/Fail2ban-installation-and-usage-tutorial.md @@ -3,7 +3,13 @@ title: Fail2ban 安装使用教程 abbrlink: 1acd162e date: 2024-02-19 12:06:33 tags: -- Fail2ban + - 运维 + - 服务器 + - 部署 + - Fail2ban +categories: + - [技术, 部署] + - [技术, 运维] --- ![Fail2ban](fail2ban.webp) diff --git a/source/_posts/Fix-article-updated-time-on-github-pages.md b/source/_posts/Fix-article-updated-time-on-github-pages.md index 62934c73..4cd767af 100644 --- a/source/_posts/Fix-article-updated-time-on-github-pages.md +++ b/source/_posts/Fix-article-updated-time-on-github-pages.md @@ -5,6 +5,8 @@ tags: - Github-Pages abbrlink: 21f09adf date: 2023-12-27 22:47:28 +categories: + - [技术, 杂] --- > github actions 具体配置请参考前面的文章 diff --git a/source/_posts/Fluid-theme-installation.md b/source/_posts/Fluid-theme-installation.md index 277dae86..781963a0 100644 --- a/source/_posts/Fluid-theme-installation.md +++ b/source/_posts/Fluid-theme-installation.md @@ -1,11 +1,13 @@ --- title: 安装 Fluid 主题 tags: - - hexo + - Hexo - fluid - 部署 abbrlink: 5eba38dc date: 2023-12-27 02:09:48 +categories: + - [技术, Hexo, Fluid] --- [官方文档](https://hexo.fluid-dev.com/docs/start)其实挺详细的了。 diff --git a/source/_posts/Generate-unique-links.md b/source/_posts/Generate-unique-links.md index 422ee0eb..09630a0a 100644 --- a/source/_posts/Generate-unique-links.md +++ b/source/_posts/Generate-unique-links.md @@ -3,7 +3,9 @@ title: Hexo 生成文章唯一永久链接 abbrlink: 6a24c2b date: 2023-12-29 10:27:37 tags: -- 优化 + - 优化 +categories: + - [技术, Hexo] --- diff --git a/source/_posts/Help-the-elderly.md b/source/_posts/Help-the-elderly.md index 6686b555..24579421 100644 --- a/source/_posts/Help-the-elderly.md +++ b/source/_posts/Help-the-elderly.md @@ -4,6 +4,8 @@ tags: - 日常 abbrlink: dfba1590 date: 2024-02-05 16:24:43 +categories: + - [随笔, 日常] --- 新年临近,最近也是越来越忙了。 diff --git a/source/_posts/Hexo-Fluid-set-footer.md b/source/_posts/Hexo-Fluid-set-footer.md index 18bdc7ff..0e9c9d98 100644 --- a/source/_posts/Hexo-Fluid-set-footer.md +++ b/source/_posts/Hexo-Fluid-set-footer.md @@ -1,10 +1,12 @@ --- title: Hexo Fluid 设置页脚 tags: - - hexo + - Hexo - fluid abbrlink: 2422058f date: 2023-12-28 02:26:14 +categories: + - [技术, Hexo, Fluid] --- 效果图: diff --git a/source/_posts/How-to-Deploy-a-new-server.md b/source/_posts/How-to-Deploy-a-new-server.md index 056c0598..960459cd 100644 --- a/source/_posts/How-to-Deploy-a-new-server.md +++ b/source/_posts/How-to-Deploy-a-new-server.md @@ -3,8 +3,17 @@ title: 从零开始部署服务器和网站 sticky: 102 tags: - 部署 + - 运维 + - 服务器 + - SSH + - ufw + - Fail2ban abbrlink: 4cde56ee date: 2024-03-01 22:25:20 +categories: + - [技术, 部署] + - [技术, 运维] + - [技术, 服务器] --- {% note secondary %} diff --git a/source/_posts/Java-Casual-talk.md b/source/_posts/Java-Casual-talk.md index be0926b3..a2dafc2c 100644 --- a/source/_posts/Java-Casual-talk.md +++ b/source/_posts/Java-Casual-talk.md @@ -4,6 +4,8 @@ tags: - Java abbrlink: f7c262de date: 2024-01-10 02:02:20 +categories: + - [技术, Java] --- {% note secondary %} diff --git a/source/_posts/My-2023-Chronicles-and-Insights.md b/source/_posts/My-2023-Chronicles-and-Insights.md index a6a94b8b..18b6077e 100644 --- a/source/_posts/My-2023-Chronicles-and-Insights.md +++ b/source/_posts/My-2023-Chronicles-and-Insights.md @@ -5,6 +5,8 @@ tags: - "2023" abbrlink: af028bbd date: 2024-02-12 20:15:28 +categories: + - [随笔, 日常] --- 2024 农历甲辰龙年,在这一年一度的新春佳节,祝大家龙年行大运! diff --git a/source/_posts/My-first-hexo-blog.md b/source/_posts/My-first-hexo-blog.md index e87a623d..ba8cf077 100644 --- a/source/_posts/My-first-hexo-blog.md +++ b/source/_posts/My-first-hexo-blog.md @@ -1,13 +1,16 @@ --- title: Hexo 博客部署教程 tags: - - hexo + - Hexo - Github - Github-Pages - Github-Actions - 部署 abbrlink: 7a862802 date: 2023-12-26 23:18:38 +categories: + - [技术, Hexo] + - [技术, 部署] --- ## Hexo 部署 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..831e5234 100644 --- a/source/_posts/Nginx-installation-and-usage-tutorial.md +++ b/source/_posts/Nginx-installation-and-usage-tutorial.md @@ -2,8 +2,14 @@ title: Nginx 安装与使用教程 tags: - Nginx + - 部署 + - 运维 abbrlink: 6645bed3 date: 2024-03-02 14:04:40 +categories: + - [技术, Nginx] + - [技术, 部署] + - [技术, 运维] --- ![Nginx](NGINX-logo-rgb-large.webp) diff --git a/source/_posts/Open-Source-Software-Recommendations.md b/source/_posts/Open-Source-Software-Recommendations.md index 6b81fd10..ea1b6200 100644 --- a/source/_posts/Open-Source-Software-Recommendations.md +++ b/source/_posts/Open-Source-Software-Recommendations.md @@ -4,7 +4,11 @@ sticky: 101 abbrlink: f297b285 date: 2024-01-25 14:05:33 tags: -- open-source + - open-source +categories: + - [技术, 部署] + - [技术, 运维] + - [技术, 服务器] --- - `1Panel`,现代化、开源的 Linux 服务器运维管理面板:{% post_link 1panel-installation-and-usage-tutorial '1Panel 安装配置教程' %} diff --git a/source/_posts/Tutorial-of-Building-a-blog.md b/source/_posts/Tutorial-of-Building-a-blog.md index d0cc4a49..43d02cbf 100644 --- a/source/_posts/Tutorial-of-Building-a-blog.md +++ b/source/_posts/Tutorial-of-Building-a-blog.md @@ -3,6 +3,8 @@ title: 博客搭建相关教程 abbrlink: 6db78a27 date: 2023-12-28 19:03:00 tags: +categories: + - [技术, Hexo] --- ## 目录 diff --git a/source/_posts/Umami-installation-and-usage-tutorial.md b/source/_posts/Umami-installation-and-usage-tutorial.md index 24687951..1e1186a8 100644 --- a/source/_posts/Umami-installation-and-usage-tutorial.md +++ b/source/_posts/Umami-installation-and-usage-tutorial.md @@ -3,9 +3,11 @@ title: Umami 安装使用教程 tags: - 部署 - Umami - - 1Panel abbrlink: f7a090e6 date: 2024-01-24 11:55:35 +categories: + - [技术, 部署] + - [技术, Umami] --- > Umami is a simple, fast, privacy-focused alternative to Google Analytics. > diff --git a/source/_posts/Use-lxgw-wenkai-in-fluid.md b/source/_posts/Use-lxgw-wenkai-in-fluid.md index c5c594d3..ed534369 100644 --- a/source/_posts/Use-lxgw-wenkai-in-fluid.md +++ b/source/_posts/Use-lxgw-wenkai-in-fluid.md @@ -1,10 +1,12 @@ --- title: 在 Fluid 主题中使用霞鹜文楷 tags: - - hexo + - Hexo - fluid abbrlink: f24b41b1 date: 2023-12-27 14:58:04 +categories: + - [技术, Hexo, Fluid] --- 近来阅读竹林里有冰的博客,发现他的博客字体很好看,想着把他的字体也用到我的博客里,于是就有了这篇文章。 diff --git a/source/_posts/Using-postgresql-on-ArchLinux.md b/source/_posts/Using-postgresql-on-ArchLinux.md index 9731880a..8c0015ed 100644 --- a/source/_posts/Using-postgresql-on-ArchLinux.md +++ b/source/_posts/Using-postgresql-on-ArchLinux.md @@ -5,6 +5,8 @@ tags: - 数据库 abbrlink: d2adab3b date: 2024-02-29 09:44:23 +categories: + - [技术, 数据库, PostgreSQL] --- {% note secondary %} diff --git a/source/_posts/Using-uptime-kuma-as-Status-Page.md b/source/_posts/Using-uptime-kuma-as-Status-Page.md index c4809a92..a20e3e95 100644 --- a/source/_posts/Using-uptime-kuma-as-Status-Page.md +++ b/source/_posts/Using-uptime-kuma-as-Status-Page.md @@ -3,9 +3,11 @@ title: 使用 uptime-kuma 作为 Status Page tags: - 部署 - Uptime-kuma - - 1Panel abbrlink: c7c2ca22 date: 2024-01-04 11:56:45 +categories: + - [技术, 部署] + - [技术, 运维] --- > A fancy self-hosted monitoring tool > diff --git a/source/_posts/Writing-Umami-s-uv-pv-access-display.md b/source/_posts/Writing-Umami-s-uv-pv-access-display.md index 807f32be..f0ba2cf4 100644 --- a/source/_posts/Writing-Umami-s-uv-pv-access-display.md +++ b/source/_posts/Writing-Umami-s-uv-pv-access-display.md @@ -4,6 +4,8 @@ tags: - Umami abbrlink: 4259ee82 date: 2024-02-25 19:47:17 +categories: + - [技术, Umami] --- > Umami is a simple, fast, privacy-focused alternative to Google Analytics.