Closed RichardLitt closed 6 years ago
What kind of templates?
That can be done directly with hugo command. Something like hugo new user
(don't remember the syntax by heart now, but in this ball park)
I didn't add it anywhere in the doc because contributors need to have hugo installed, rather than copy/paste the file.
Good points. Shell or rake (I think?) would mean that users wouldn't need to have Hugo installed; it's what I normally use with Jekyll sites.
I like this idea! I would say we should support all three to attract as many people as possible without enforcing them to install something in order to contribute: 1) Hugo (natively) 2) Rake (intermediate) 3) Bash (zero-dependency).
Let's just set up a bash script, then. I think that's the easiest. :)
Great, I'll do something this week and most probably update contribution guide with Hugo and bash for now to see what other we can do for rake or something totally different.
Sweet. Thanks @khos2ow! I'm trying to finish up some other priorities and don't have a ton of time available to help at the moment, so I appreciate the effort. :)
No worries. I know, me neither, so don't take me up on that just yet :wink:
I added hugo binary to the repo and the topic on this issue isn't required anymore. The only way user can add content is ./binaries/hugo new <type>/<filename>.md
, in which type can be:
Something like this would be great:
Instead of having to manually copy templates.