用户指南

快速开始

简介

欢迎使用 Linen —— 一个简约、优雅的 Hexo 主题。这个主题大部分灵感来自于 https://medium.com/blog

安装

前置条件

现有的 Hexo 项目或者使用 https://hexo.io/docs/ 新建一个 Hexo 项目。Hexo 版本 "^8.1.1"

你可以通过以下几种方式来使用 Linen 主题:

  1. 通过 npm 安装

    npm install
    1
    npm install hexo-theme-linen -S

    然后在 Hexo 项目配置文件 _config.yml 中配置 theme: linen 。重新启动 Hexo 项目,即可启用 Linen 主题。

  2. 直接克隆主题文件到 Hexo 主题目录

    git clone
    1
    git clone https://github.com/LynanBreeze/hexo-theme-linen.git

    然后在 Hexo 项目配置文件 _config.yml 中配置 theme: hexo-theme-linen 。重新启动 Hexo 项目,即可启用 Linen 主题。

  3. 直接克隆本文档站点源码修改使用

    git clone
    1
    git clone https://github.com/LynanBreeze/hexo-theme-linen-doc-zh-CN.git

个性化配置

继续阅读 下一篇文章 了解如何进行一些个性化配置。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
title: 快速开始
date: 2026-03-28 23:59
excerpt: 欢迎使用 Linen —— 一个简约、优雅的 Hexo 主题。请跟随本文档快速配置 Linen 主题。
categories: 快速开始
cover: /img/markus-winkler-newg0EE_rxw-unsplash.jpg
coverInfo:
author: Markus Winkler
url: https://unsplash.com/photos/a-close-up-of-a-street-sign-on-the-ground-newg0EE_rxw
series: 用户指南
appendRawMarkdown: true
tocType: flat
translations: ['en']
---

## 简介

欢迎使用 Linen —— 一个简约、优雅的 Hexo 主题。这个主题大部分灵感来自于 [https://medium.com/blog](https://medium.com/blog)。

## 安装

### 前置条件

现有的 Hexo 项目或者使用 https://hexo.io/docs/ 新建一个 Hexo 项目。Hexo 版本 `"^8.1.1"`

你可以通过以下几种方式来使用 Linen 主题:

1. **通过 npm 安装**

```bash npm install
npm install hexo-theme-linen -S
```

然后在 Hexo 项目配置文件 `_config.yml` 中配置 `theme: linen` 。重新启动 Hexo 项目,即可启用 Linen 主题。

2. **直接克隆主题文件到 Hexo 主题目录**

```bash git clone
git clone https://github.com/LynanBreeze/hexo-theme-linen.git
```
然后在 Hexo 项目配置文件 `_config.yml` 中配置 `theme: hexo-theme-linen` 。重新启动 Hexo 项目,即可启用 Linen 主题。

3. **直接克隆本文档站点源码修改使用**

```bash git clone
git clone https://github.com/LynanBreeze/hexo-theme-linen-doc-zh-CN.git
```

## 个性化配置

继续阅读 [**下一篇文章**](/hexo-theme-linen-doc-zh-CN/customization/) 了解如何进行一些个性化配置。