Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I Update a post without create an new post? #884

Closed
lili21 opened this issue Oct 17, 2014 · 5 comments
Closed

Can I Update a post without create an new post? #884

lili21 opened this issue Oct 17, 2014 · 5 comments

Comments

@lili21
Copy link

lili21 commented Oct 17, 2014

It will create an new post while I update the post and generate. Thus I got two post, one is new and another is the old one. That's weird, Any suggestions?

@gshmu
Copy link

gshmu commented Oct 22, 2014

@oracle-li edit(update a post) again, tell me two or three post? it's which one post.

Or $ hexo clean and delete .deploy folder, generate again.

@gshmu
Copy link

gshmu commented Oct 22, 2014

@oracle-li find the two post with any different. name, time, url etc

@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 24, 2014

you can just create a *.md doc in your _post directory

@practicalli-johnny
Copy link

Maybe I misunderstand the question, but if you want to update a post then just edit the original markdown file - eg. my-post-name.md and then run hexo generate and hexo deploy.

The hexo new command is only for creating a new post, not for updating an existing post.

Please explain your question in more detail if this is not the answer you are looking for.

Thank you

@leesei
Copy link
Member

leesei commented Jul 17, 2015

hexo clean should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants