xiaohantx
V2EX  ›  问与答

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

  •  
  •   xiaohantx · Feb 22, 2019 · 2721 views
    This topic created in 2818 days ago, the information mentioned may be changed or developed.
    目前会自动新建到 source/_posts 下想比如新建到 source/_posts/type 下该怎么设置
    5 replies  •  2019-02-22 15:02:17 +08:00
    xiaohantx
    xiaohantx
    OP
    Feb 22, 2019
    1
    _(:з」∠)_求解
    rizon
    rizon
    Feb 22, 2019❤️1
    2
    ```
    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
    xiaohantx
    OP
    Feb 22, 2019
    3
    @rizon 感谢
    bgm004
    bgm004
    Feb 22, 2019 via Android
    4
    hexo 写文章不都是打开 md 编辑器,写完自己选文章存吗?这个命令从来没有用过
    bgm004
    bgm004
    Feb 22, 2019 via Android
    5
    上面打错字了,就是都是手动保存。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3089 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:11 · PVG 12:11 · LAX 20:11 · JFK 23:11
    ♥ Do have faith in what you're doing.