如何使用 hexo 控制帖子发布日期?

blu*_*lds 3 hexo

我想安排一些帖子在未来发布,并从其他网站迁移一些过去发布的帖子。

我已经尝试修改我的源文件的 unix 文件创建日期,但这似乎没有做正确的事情。

blu*_*lds 6

hexo 控制源 .md 文件中的发布日期(和其他配置选项)。只需在文件顶部添加一个日期标签,例如:

title: page title
tags:
  - aTag
  - anotherTag
id: 418
categories:
  - aCategory
  - anotherCategory
date: 2013-11-06 06:40:12
---

Some text i'd like to have in the body of this post
Run Code Online (Sandbox Code Playgroud)

  • 确保您的配置中有“future: false”。 (2认同)