Hello World

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.

快速上手

创建新帖子

1
$ hexo new "My New Post"

More info: Writing

启动本地服务器

1
$ hexo server

More info: Server

生成静态文件

1
2
$ hexo generate
$ hexo clean && hexo generate

More info: Generating

部署远程站点

1
$ hexo deploy

More info: Deployment

此外

1
$ sudo cp -r /root/hexo/public/* /var/www/hexo/

记得把文件移到这里

一些Front-matter

设置 描述 默认值
layout 布局 config.default_layout
title 标题 文章的文件名
date 建立日期 文件建立日期
updated 更新日期 文件更新日期
comments 开启文章的评论功能 true
tags 标签(不适用于分页)
categories 分类(不适用于分页)
permalink 覆盖文章的永久链接. 永久链接应该以 / 或 .html 结尾 null
excerpt 纯文本的页面摘要。 使用 该插件 来格式化文本

Hello World
http://www.duducake.fun/2025/05/28/hello-world/
作者
DuduCake
发布于
2025年5月28日
许可协议