-
Notifications
You must be signed in to change notification settings - Fork 988
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
Provide default templates and test post #441
Comments
There is default page already telling you what file you need to create and pointing you to the right docs if you don't have any templates.
It is unlikely you would be able to make a template showing all of https://www.getgutenberg.io/documentation/templates/pages-sections/ since some options are exclusive of each others and the docs are going to be clearer. |
The instructions are non trivial, and involve a few config options. I tried to get the after dark theme working, but got errors. I assumed that I had gotten something wrong, but it turns out that they were caused by getzola/after-dark#9. Having a default template that is known to work would without further configuration would have prevented this.
All static sites will have a A generic
That's certainly true. However, learning by seeing and modifying a working example is useful. |
Currently,
gutenberg init
doesn't provide any templates, which means that additional non-trivial work is needed to go fromgutenberg init
, to a page with posts.I'd suggest adding very, very simple bare-bones template files and an example post, so that it works immediately out of the box. Optionally,
gutenberg init
could take a--create-skeleton
flag, or something like that, which would produce this behavior.In addition to getting of the ground faster, it could provide a good starting place for theme authors by showing what's available in each template's context.
The text was updated successfully, but these errors were encountered: