Hexo 默认

1
2
3
4
5
6
7
8
title:
date:
updated:
comments:
tags:
categories:
layout:
permalink:

主题扩展

适用于 post

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title:
date:
updated:
tags:
categories:
keywords:
description:
top_img:
comments:
cover:
toc:
toc_number:
copyright:
copyright_author:
copyright_author_href:
copyright_url:
copyright_info:
mathjax:
katex:
aplayer:
highlight_shrink:
aside:
---

适用于 page

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title:
date:
updated:
type:
comments:
description:
keywords:
top_img:
mathjax:
katex:
aside:
aplayer:
highlight_shrink:
---

其他div

特殊blockquote

默认情况

success

error

warning

1
2
3
4
5
6
7
8
上方的代码
<div class='tip' ><p>默认情况<p></div>

<div class='tip success'><p>success<p></div>

<div class='tip error'><p>error<p></div>

<div class='tip warning'><p>warning<p></div>

常用blockquote

1
2
3
{% note [class] [no-icon] [style] %}
Any content (support inline tags too.io).
{% endnote %}

simple

默认 引用块

default 引用块

primary 引用块

success 引用块

info 引用块

warning 引用块

danger 引用块

modern

默认 引用块

default 引用块

primary 引用块

success 引用块

info 引用块

warning 引用块

danger 引用块

flat

默认 引用块

default 引用块

primary 引用块

success 引用块

info 引用块

warning 引用块

danger 引用块

disable

默认 引用块

default 引用块

primary 引用块

success 引用块

info 引用块

warning 引用块

danger 引用块

no-icon

默认 引用块

default 引用块

primary 引用块

success 引用块

info 引用块

warning 引用块

danger 引用块

自定义icon

1
2
3
{% note [color] [icon] [style] %}
Any content (support inline tags too.io).
{% endnote %}

剪刀石头布