Hugofy-sublime
Hugofy-sublime copied to clipboard
New post to subfolder
Hello,
this is my first time with Sublime Text :-) Only bought to use the plugin from you, thanks a lot. I have one question: If I create new post, its always in the content/post folder, how can I choose the folder, where new post should be created ? For example: content/post/2018/08/example.md ?
cu denny
When you create the post, enter the filename with the path, skipping content.
For your example, you would create a post with the following filename: post/2018/08/example.md
related hugo docs: https://gohugo.io/commands/hugo_new https://gohugo.io/content-management/organization/
And the hugofy code that runs: https://github.com/akmittal/Hugofy-sublime/blob/master/Hugofy.py#L18-L31