hexojs / hexojs/hexo-cli

The behavior of `hexo g` is affected by `new_post_name`

Open
#69 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
176
Forks
77
PR merge metrics
No merged PRs in 30d

Description

With hexo-cli 1.1.0
![image](https://user-images.githubusercontent.com/15902347/58343410-7a5a5000-7e85-11e9-949f-270a6731bedc.png)
![image](https://user-images.githubusercontent.com/15902347/58343448-965df180-7e85-11e9-8a55-6bb8059cd157.png)

With hexo-cli 1.0.4
![image](https://user-images.githubusercontent.com/15902347/58343484-b1306600-7e85-11e9-92d1-b8826ff1fe85.png)

My post files in both `_posts/almond` and `_posts/beechnut`. But in the latest hexo-cli, it's generated wrong.

I only changed this config:
```yml
new_post_name: beechnut/:title.md
```

`new_post_name` shouldn't affect `hexo g`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.