Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Hello World

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

测试

:root {
--btf-radius: 12px;
--btf-radius-sm: 8px;
--btf-radius-pill: 99px;
--btf-border-width: 1px;
--btf-transition: .3s ease;
--btf-main-width: 1030px;
/* Sidebar width: the single source of truth.
Change this one value and the sidebar column, every card inside it
and the total layout width all follow automatically. */
--btf-aside-width: 315px;
/* Structural constant: inner gap between sidebar and main column.
Normally you do NOT need to touch this. */
--btf-aside-gap: 10px;
/* Vertical gap between sidebar cards. */
--btf-aside-card-gap: 10px;
--btf-layout-gutter: 30px;
--btf-layout-width: calc(var(--btf-main-width) + var(--btf-aside-width) + var(--btf-layout-gutter));
/* Post header cover width (right side of the post top image). */
--btf-header-cover-width: 300px;
}

MD语法

记录啦啦啦啦啦

  1. 记录测试
  2. 测试记录飞机飞机

时间轴样式

2020-07-24 2.6.6 -> 3.0

  1. 如果有 hexo-lazyload-image 插件,需要删除并重新安装最新版本,设置 lazyload.isSPA: true。
  2. 2.x 版本的 css 和 js 不适用于 3.x 版本,如果使用了 use_cdn: true 则需要删除。
  3. 2.x 版本的 fancybox 标签在 3.x 版本中被重命名为 gallery 。
  4. 2.x 版本的置顶 top: true 改为了 pin: true,并且同样适用于 layout: page 的页面。
  5. 如果使用了 hexo-offline 插件,建议卸载,3.0 版本默认开启了 pjax 服务。

2020-05-15 2.6.3 -> 2.6.6

不需要额外处理。

2020-04-20 2.6.2 -> 2.6.3

  1. 全局搜索 seotitle 并替换为 seo_title。
  2. group 组件的索引规则有变,使用 group 组件的文章内,group: group_name 对应的组件名必须是 group_name。
  3. group 组件的列表名优先显示文章的 short_title 其次是 title。