I have hosted my site in Git Hub via Hugo. Hugo recommends “page bundles” approch.
That is, for each note, I have to create a directory by that name, then create an index.md inside it.
eg: my_first_blog/index.md my_second_blog/index.md
I have dataview, templater, and periodic daily notes plugin.
I should be able to “click on a button in the ribbon” OR “select a command”. First, it should ask for a prompt for giving the note title, then it should create a new directory (by that title), then create an "index.md" file inside it.
Is this functionality possible using dataview and templater ? Can it create a directory and file inside it in one click ? Please share your idea.
It will be possible with templater. I’ve never done it so I couldn’t help you, but with this doc you’ll find out how to create a file and retrieve a value from a promp. To create a folder, there must be a way, but I don’t have the exact solution.