xiaohantx
V2EX  ›  问与答

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

  •  
  •   xiaohantx · Feb 22, 2019 · 2398 views
    This topic created in 2662 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
        1
    xiaohantx  
    OP
       Feb 22, 2019
    _(:з」∠)_求解
    rizon
        2
    rizon  
       Feb 22, 2019   ❤️ 1
    ```
    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
        3
    xiaohantx  
    OP
       Feb 22, 2019
    @rizon 感谢
    bgm004
        4
    bgm004  
       Feb 22, 2019 via Android
    hexo 写文章不都是打开 md 编辑器,写完自己选文章存吗?这个命令从来没有用过
    bgm004
        5
    bgm004  
       Feb 22, 2019 via Android
    上面打错字了,就是都是手动保存。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2730 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 02:38 · PVG 10:38 · LAX 19:38 · JFK 22:38
    ♥ Do have faith in what you're doing.