mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-22 10:58:56 +00:00
refactor: remove unnecessary front matter.
This commit is contained in:
@@ -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 配置。
|
||||
|
@@ -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
|
||||
---
|
||||
|
||||
## 所需要的环境
|
||||
|
@@ -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) 博客系统分为以下四个部分:
|
||||
|
@@ -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` 包含了主题所有的配置选项,需要注意的是,这些选项仅仅是用于构建配置表单,并不起到对主题的配置作用。
|
||||
|
@@ -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
|
||||
---
|
||||
|
||||
## 博客地址
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
---
|
||||
|
||||
> 为了减少重复代码,我们将某些常见的全局变量封装成了一个公共模板,我们只需要引入该模板,然后调用其中的宏模板即可。
|
||||
|
@@ -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
|
||||
---
|
||||
|
||||
> 模板标签可以运用在页面的任何地方。
|
||||
|
Reference in New Issue
Block a user