Hugofy-sublime icon indicating copy to clipboard operation
Hugofy-sublime copied to clipboard

New post to subfolder

Open linuxmail opened this issue 6 years ago • 1 comments

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

linuxmail avatar Aug 18 '18 12:08 linuxmail

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

sixty4k avatar Nov 29 '18 16:11 sixty4k