hexo new 时的路径创建
基本用法如下
hexo new layout [article_name] -p [path]
注意path末尾不用加.md
hexo new layout [article_name] -p [article_name]
这种默认是在source/_posts下创建
比如
hexo new article-img tttt -p tttt

hexo new layout [article_name] -p subdir/[article_name]
这种等价于在source/_post/subdir创建,如果subdir不存在则会自动创建
hexo new article-img tttt -p misc_1/tttt

All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.