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

New post to subfolder #9

Open
linuxmail opened this issue Aug 18, 2018 · 1 comment
Open

New post to subfolder #9

linuxmail opened this issue Aug 18, 2018 · 1 comment

Comments

@linuxmail
Copy link

linuxmail commented Aug 18, 2018

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

@sixty4k
Copy link
Contributor

sixty4k commented Nov 29, 2018

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

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

2 participants