From 722557cd47f5b692ba24a647b7ec0a7cd3b61147 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 7 Oct 2021 16:35:15 +0800 Subject: [PATCH] refactor: remove unnecessary front matter. --- docs/contribution/issue.md | 5 ----- docs/contribution/pr.md | 5 ----- docs/contribution/sponsor.md | 5 ----- docs/developer-guide/core/code-style.md | 5 ----- docs/developer-guide/core/prepare.md | 5 ----- docs/developer-guide/core/structure.md | 5 ----- docs/developer-guide/theme/config-files.md | 5 ----- docs/developer-guide/theme/global-variable.md | 5 ----- docs/developer-guide/theme/page-variable.md | 5 ----- docs/developer-guide/theme/prepare.md | 5 ----- docs/developer-guide/theme/public-template-tag.md | 5 ----- docs/developer-guide/theme/template-tag.md | 5 ----- docs/getting-started/config.md | 5 ----- docs/getting-started/downloads.md | 5 ----- docs/getting-started/install/docker.md | 5 ----- docs/getting-started/install/linux.md | 5 ----- docs/getting-started/install/other/bt-panel.md | 5 ----- docs/getting-started/install/other/oneinstack.md | 5 ----- docs/getting-started/install/other/tencent-cloudbase.mdx | 5 ----- docs/getting-started/install/third-party.md | 5 ----- docs/getting-started/install/windows.md | 5 ----- docs/getting-started/prepare.md | 5 ----- docs/getting-started/upgrade.md | 5 ----- docs/user-guide/backup-migration.md | 5 ----- docs/user-guide/config.md | 5 ----- docs/user-guide/faq.md | 5 ----- docs/user-guide/markdown.md | 5 ----- 27 files changed, 135 deletions(-) diff --git a/docs/contribution/issue.md b/docs/contribution/issue.md index 2e4882c..83a9d3a 100644 --- a/docs/contribution/issue.md +++ b/docs/contribution/issue.md @@ -1,11 +1,6 @@ --- title: 问题反馈 description: 问题反馈渠道及指南 -published: true -date: 2021-07-09T03:06:53.598Z -tags: -editor: markdown -dateCreated: 2020-10-11T06:35:11.969Z --- :::info diff --git a/docs/contribution/pr.md b/docs/contribution/pr.md index 8dff9b2..81293b2 100644 --- a/docs/contribution/pr.md +++ b/docs/contribution/pr.md @@ -1,11 +1,6 @@ --- title: 代码贡献 description: 代码贡献指南 -published: true -date: 2021-07-11T15:28:35.063Z -tags: -editor: markdown -dateCreated: 2020-10-11T06:36:02.384Z --- > 欢迎你参与 Halo 的开发,下面是参与代码贡献的指南,以供参考。 diff --git a/docs/contribution/sponsor.md b/docs/contribution/sponsor.md index c9fb662..e283cfb 100644 --- a/docs/contribution/sponsor.md +++ b/docs/contribution/sponsor.md @@ -1,11 +1,6 @@ --- title: 赞助我们 description: 如果 Halo 对您有帮助,不妨赞助我们 -published: true -date: 2021-09-22T11:59:35.914Z -tags: -editor: markdown -dateCreated: 2021-01-26T16:33:09.606Z --- ## 为什么需要赞助 diff --git a/docs/developer-guide/core/code-style.md b/docs/developer-guide/core/code-style.md index ffe17f8..25039d3 100644 --- a/docs/developer-guide/core/code-style.md +++ b/docs/developer-guide/core/code-style.md @@ -1,11 +1,6 @@ --- title: 代码风格 description: 代码风格的相关配置说明 -published: true -date: 2021-07-09T03:07:39.180Z -tags: -editor: markdown -dateCreated: 2021-03-04T12:58:29.590Z --- Halo 添加了 checkstyle 插件,来保证每位提交者代码的风格保持一致,减少无效代码的修改。本篇文章主要讲解如何在 IDEA 中添加 CheckStyle 插件,并引入项目所提供的 checkstyle.xml 配置。 diff --git a/docs/developer-guide/core/prepare.md b/docs/developer-guide/core/prepare.md index 645b7ab..6bb5c55 100644 --- a/docs/developer-guide/core/prepare.md +++ b/docs/developer-guide/core/prepare.md @@ -1,11 +1,6 @@ --- title: 相关说明 description: 开发环境的一些说明 -published: true -date: 2021-07-09T03:07:37.190Z -tags: -editor: markdown -dateCreated: 2021-03-04T12:56:25.883Z --- ## 所需要的环境 diff --git a/docs/developer-guide/core/structure.md b/docs/developer-guide/core/structure.md index e51ed5a..6dbb1c5 100644 --- a/docs/developer-guide/core/structure.md +++ b/docs/developer-guide/core/structure.md @@ -1,11 +1,6 @@ --- title: 系统结构 description: Halo 项目的构成 -published: true -date: 2021-07-09T03:07:35.008Z -tags: -editor: markdown -dateCreated: 2021-03-04T12:53:48.806Z --- [Halo](https://github.com/halo-dev/halo) 博客系统分为以下四个部分: diff --git a/docs/developer-guide/theme/config-files.md b/docs/developer-guide/theme/config-files.md index c191fb4..b812f1d 100644 --- a/docs/developer-guide/theme/config-files.md +++ b/docs/developer-guide/theme/config-files.md @@ -1,11 +1,6 @@ --- title: 配置文件 description: 主题配置文件的说明 -published: true -date: 2021-10-04T08:43:29.708Z -tags: -editor: markdown -dateCreated: 2020-10-11T15:12:10.695Z --- > Halo 的主题模块使用 yaml 来对主题进行配置,`theme.yaml` 里面主要描述主题的名称,开发者的信息,开源地址等等。`settings.yaml` 包含了主题所有的配置选项,需要注意的是,这些选项仅仅是用于构建配置表单,并不起到对主题的配置作用。 diff --git a/docs/developer-guide/theme/global-variable.md b/docs/developer-guide/theme/global-variable.md index 668ae71..82ba72e 100644 --- a/docs/developer-guide/theme/global-variable.md +++ b/docs/developer-guide/theme/global-variable.md @@ -1,11 +1,6 @@ --- title: 全局变量 description: 系统提供的一些全局变量 -published: true -date: 2021-07-09T03:07:01.155Z -tags: -editor: markdown -dateCreated: 2020-10-11T15:13:43.148Z --- ## 博客地址 diff --git a/docs/developer-guide/theme/page-variable.md b/docs/developer-guide/theme/page-variable.md index 2294422..01ec707 100644 --- a/docs/developer-guide/theme/page-variable.md +++ b/docs/developer-guide/theme/page-variable.md @@ -1,11 +1,6 @@ --- title: 页面变量 description: 每个页面所返回的变量 -published: true -date: 2021-07-09T03:07:03.814Z -tags: -editor: markdown -dateCreated: 2020-10-11T15:14:42.747Z --- ## 首页(index.ftl) diff --git a/docs/developer-guide/theme/prepare.md b/docs/developer-guide/theme/prepare.md index fbdc28a..9941028 100644 --- a/docs/developer-guide/theme/prepare.md +++ b/docs/developer-guide/theme/prepare.md @@ -1,11 +1,6 @@ --- title: 准备工作 description: 主题开发的环境搭建 -published: true -date: 2021-07-09T03:06:48.338Z -tags: -editor: markdown -dateCreated: 2020-10-11T02:39:41.346Z --- :::info diff --git a/docs/developer-guide/theme/public-template-tag.md b/docs/developer-guide/theme/public-template-tag.md index b29da76..98be161 100644 --- a/docs/developer-guide/theme/public-template-tag.md +++ b/docs/developer-guide/theme/public-template-tag.md @@ -1,11 +1,6 @@ --- title: 公共宏模板 description: 系统提供的一些宏模板 -published: true -date: 2021-09-18T16:21:55.758Z -tags: -editor: markdown -dateCreated: 2020-10-11T15:15:22.987Z --- > 为了减少重复代码,我们将某些常见的全局变量封装成了一个公共模板,我们只需要引入该模板,然后调用其中的宏模板即可。 diff --git a/docs/developer-guide/theme/template-tag.md b/docs/developer-guide/theme/template-tag.md index 73a60dc..769c932 100644 --- a/docs/developer-guide/theme/template-tag.md +++ b/docs/developer-guide/theme/template-tag.md @@ -1,11 +1,6 @@ --- title: 模板标签 description: 用于获取数据的模板标签 -published: true -date: 2021-08-01T06:33:03.314Z -tags: -editor: markdown -dateCreated: 2020-10-11T05:09:17.676Z --- > 模板标签可以运用在页面的任何地方。 diff --git a/docs/getting-started/config.md b/docs/getting-started/config.md index 8011729..c952308 100644 --- a/docs/getting-started/config.md +++ b/docs/getting-started/config.md @@ -1,11 +1,6 @@ --- title: 配置参考 description: Halo 配置文件的详细介绍及参考 -published: true -date: 2021-08-27T05:31:10.729Z -tags: -editor: markdown -dateCreated: 2020-10-16T07:12:17.629Z --- Halo 的配置文件名为 `application.yaml`,其必须位于[工作目录](/getting-started/prepare#工作目录) `~/.halo` 下。 Halo 会读取该目录下的配置文件进行加载。 diff --git a/docs/getting-started/downloads.md b/docs/getting-started/downloads.md index 84ffbca..81884b0 100644 --- a/docs/getting-started/downloads.md +++ b/docs/getting-started/downloads.md @@ -1,11 +1,6 @@ --- title: 资源下载 description: 目前所有与 Halo 相关的下载地址 -published: true -date: 2021-07-09T03:07:18.643Z -tags: -editor: markdown -dateCreated: 2020-12-27T13:01:44.286Z --- ## Github diff --git a/docs/getting-started/install/docker.md b/docs/getting-started/install/docker.md index 4ed706a..3c6fdd1 100644 --- a/docs/getting-started/install/docker.md +++ b/docs/getting-started/install/docker.md @@ -1,11 +1,6 @@ --- title: 使用 Docker 部署 Halo description: 使用 Docker 部署 -published: true -date: 2021-09-16T13:35:47.626Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:50:08.650Z --- :::info diff --git a/docs/getting-started/install/linux.md b/docs/getting-started/install/linux.md index 2fdd321..0004694 100644 --- a/docs/getting-started/install/linux.md +++ b/docs/getting-started/install/linux.md @@ -1,11 +1,6 @@ --- title: 在 Linux 环境部署 description: 在Linux上快速安装Halo -published: true -date: 2021-09-16T13:35:20.164Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:51:55.006Z --- :::info diff --git a/docs/getting-started/install/other/bt-panel.md b/docs/getting-started/install/other/bt-panel.md index a040162..a403fda 100644 --- a/docs/getting-started/install/other/bt-panel.md +++ b/docs/getting-started/install/other/bt-panel.md @@ -1,11 +1,6 @@ --- title: 与宝塔面板配合使用 description: 与宝塔面板配合使用的指南 -published: true -date: 2021-07-10T05:59:10.401Z -tags: -editor: markdown -dateCreated: 2021-01-05T12:21:13.846Z --- ## 声明 diff --git a/docs/getting-started/install/other/oneinstack.md b/docs/getting-started/install/other/oneinstack.md index a0bf2aa..c6bb386 100644 --- a/docs/getting-started/install/other/oneinstack.md +++ b/docs/getting-started/install/other/oneinstack.md @@ -1,11 +1,6 @@ --- title: 与 OneinStack 配合使用 description: 使用 OneinStack 的 vhost 脚本创建 Halo 站点的 Nginx 配置文件 -published: true -date: 2021-07-09T03:07:43.500Z -tags: -editor: markdown -dateCreated: 2021-05-16T07:06:37.017Z --- ## Halo 部署 diff --git a/docs/getting-started/install/other/tencent-cloudbase.mdx b/docs/getting-started/install/other/tencent-cloudbase.mdx index 801e63a..2b09ef7 100644 --- a/docs/getting-started/install/other/tencent-cloudbase.mdx +++ b/docs/getting-started/install/other/tencent-cloudbase.mdx @@ -1,11 +1,6 @@ --- title: 腾讯云 CloudBase description: 使用腾讯云 CloudBase 一键部署 -published: true -date: 2021-07-09T03:07:41.325Z -tags: -editor: markdown -dateCreated: 2021-04-12T10:55:32.568Z --- import Image from '@theme/IdealImage'; diff --git a/docs/getting-started/install/third-party.md b/docs/getting-started/install/third-party.md index 4368028..ec08f0a 100644 --- a/docs/getting-started/install/third-party.md +++ b/docs/getting-started/install/third-party.md @@ -1,10 +1,5 @@ --- title: 三方指南 -published: true -date: 2021-07-09T03:06:34.872Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:52:31.360Z --- :::tip diff --git a/docs/getting-started/install/windows.md b/docs/getting-started/install/windows.md index 1008dd6..9622c0e 100644 --- a/docs/getting-started/install/windows.md +++ b/docs/getting-started/install/windows.md @@ -1,10 +1,5 @@ --- title: 在 Windows 服务器上部署 -published: true -date: 2021-07-09T03:06:34.872Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:52:31.360Z --- :::info diff --git a/docs/getting-started/prepare.md b/docs/getting-started/prepare.md index bb7326d..a1fbd99 100644 --- a/docs/getting-started/prepare.md +++ b/docs/getting-started/prepare.md @@ -1,11 +1,6 @@ --- title: 写在前面 description: 在开始前,您需要了解的事项 -published: true -date: 2021-09-22T12:00:00.312Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:51:03.801Z --- ## 环境要求 diff --git a/docs/getting-started/upgrade.md b/docs/getting-started/upgrade.md index 5bb9e35..7bd6d78 100644 --- a/docs/getting-started/upgrade.md +++ b/docs/getting-started/upgrade.md @@ -1,11 +1,6 @@ --- title: 版本升级 description: 版本升级指南 -published: true -date: 2021-09-16T13:36:45.343Z -tags: -editor: markdown -dateCreated: 2020-10-09T12:53:58.281Z --- 选择你部署的平台: diff --git a/docs/user-guide/backup-migration.md b/docs/user-guide/backup-migration.md index 2910d31..a4f0de3 100644 --- a/docs/user-guide/backup-migration.md +++ b/docs/user-guide/backup-migration.md @@ -1,11 +1,6 @@ --- title: 备份迁移 description: 关于备份和迁移的最佳实践 -published: true -date: 2021-08-14T09:05:57.510Z -tags: -editor: markdown -dateCreated: 2021-08-07T07:21:14.137Z --- :::info diff --git a/docs/user-guide/config.md b/docs/user-guide/config.md index 03da0e2..dfd9884 100644 --- a/docs/user-guide/config.md +++ b/docs/user-guide/config.md @@ -1,11 +1,6 @@ --- title: 功能配置 description: 系统功能的相关配置说明 -published: true -date: 2021-07-09T03:06:40.540Z -tags: -editor: markdown -dateCreated: 2020-10-09T13:57:03.906Z --- ## 修改博客地址 diff --git a/docs/user-guide/faq.md b/docs/user-guide/faq.md index f64d297..61ef3d9 100644 --- a/docs/user-guide/faq.md +++ b/docs/user-guide/faq.md @@ -1,10 +1,5 @@ --- title: 常见问题 -published: true -date: 2021-07-09T03:07:20.695Z -tags: -editor: markdown -dateCreated: 2021-01-01T15:23:09.195Z --- # Header diff --git a/docs/user-guide/markdown.md b/docs/user-guide/markdown.md index 46043d9..1495f2a 100644 --- a/docs/user-guide/markdown.md +++ b/docs/user-guide/markdown.md @@ -1,11 +1,6 @@ --- title: Markdown 语法 description: Halo 编辑器中所支持的 Markdown 语法说明 -published: true -date: 2021-07-20T07:38:59.473Z -tags: -editor: markdown -dateCreated: 2020-10-09T14:04:57.014Z --- ## 基础语法