我的博客

记录生活与思考

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.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

这是我的个人博客,基于 Hexo + Next 主题 搭建,托管在 Cloudflare Pages,域名为 j.ruoxixi.com

如何发布文章

source/_posts/ 目录下新建 .md 文件即可,例如使用命令:

1
hexo new "文章标题"

文章支持 Markdown 语法,可插入标题、列表、代码块、引用等。

如何上传照片

将图片放入 source/images/ 目录,然后在文章中按如下方式引用:

1
![照片说明](/images/your-photo.jpg)

执行 hexo generate 后,图片会自动发布到网站。

接下来

  • 持续更新文章与照片
  • 接入评论区,欢迎留言交流

感谢访问!

0%