Create a "blank" default template
See original GitHub issueRight now you have to specify --template hugo|jekyll
. I don’t love this for two reasons:
- That’s not 0 config 😉
- Pushing Hugo or Jekyll may not the be the right choice
Instead, I propose running create-static-site <dirname>
creates the bare minimum of a static site – asset processing & static files.
This could then evolve into a few other “bare-minimum” templates like a react -> toString template.
Thoughts? @ncphillips @budparr @scottgallant ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Create a default blank template - Google Support
Create a site that will be your default Blank template. Customize it however you want. Add the site to your template gallery. Name...
Read more >Creating new or blank Template Sets - Ableton
To create a blank Template Set, navigate to Live's Browser under Templates, right-click on the DefaultLiveSet.als and select Set Default Live Set.
Read more >How to create a default page template - Full Site Editing
Then go to the Template section in the page sidebar and choose “New”. In WordPress 6.0:
Read more >Save a Word document as a template - Microsoft Support
Save a Word document as a template · Click File > Open. · Double-click This PC. (In Word 2013, double-click Computer). · Browse...
Read more >How to change the default template in Office 365 - AddictiveTips
All Office apps have a default document or file template which is a 'blank' template. You can download various templates for most Office ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I went with two webpack configs because they’re so heavy and I have detailed comments.
I think it would be helpful to give users the option to choose a template. If we consider that static site generators are pretty new to most of our users than we should make it very easy for them to use C-S-S with the template of their choice.
Say a user wants to use Jekyll the CLI could install the blank template and then prompt the user in a second step whether they would like to install an SSG (Jekyll, Hugo, Hexo etc.). Taking this a step further it maybe should even prompt them if they wanted to install a theme or not in a third step (I think it’s really difficult to figure out how to add a theme to C-S-S at the moment). Vue.js has solved the CLI experience beautifully ->
This might be less zero config but is in my opinion more in tune with what Create-React-App did for me. Run a command in the CLI and have a fully functioning app already pre-loaded with a theme so I have to only adjust code rather than write code from scratch and pick and choose providers myself.