hexo new post 的时候如何修改新建到的文件夹

2019 年 2 月 22 日
 xiaohantx
目前会自动新建到 source/_posts 下想比如新建到 source/_posts/type 下该怎么设置
2338 次点击
所在节点    问与答
5 条回复
xiaohantx
2019 年 2 月 22 日
_(:з」∠)_求解
rizon
2019 年 2 月 22 日
```
Usage: hexo new [layout] <title>

Description:
Create a new post.

Arguments:
layout Post layout. Use post, page, draft or whatever you want.
title Post title. Wrap it with quotations to escape.

Options:
-p, --path Post path. Customize the path of the post.
-r, --replace Replace the current post if existed.
-s, --slug Post slug. Customize the URL of the post.
```
xiaohantx
2019 年 2 月 22 日
@rizon 感谢
bgm004
2019 年 2 月 22 日
hexo 写文章不都是打开 md 编辑器,写完自己选文章存吗?这个命令从来没有用过
bgm004
2019 年 2 月 22 日
上面打错字了,就是都是手动保存。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://study.congcong.us/t/537529

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX