[master] Changing example theme creation command and fixing typo.
This commit is contained in:
parent
a917d6f3a9
commit
99ba66201b
|
@ -11,16 +11,9 @@ body:
|
||||||
You could create a basic empty theme with the following command:
|
You could create a basic empty theme with the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ lektor new theme <theme-name>
|
$ lektor dev new-theme
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ lektor new theme demo-theme
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Theme Components:
|
## Theme Components:
|
||||||
|
|
||||||
A theme could provide templates, assets, and models (also flowblocks):
|
A theme could provide templates, assets, and models (also flowblocks):
|
||||||
|
@ -30,7 +23,7 @@ demo-theme
|
||||||
├── assets
|
├── assets
|
||||||
├── models
|
├── models
|
||||||
├── templates
|
├── templates
|
||||||
└── flowdocks
|
└── flowblocks
|
||||||
```
|
```
|
||||||
|
|
||||||
## The theme_settings Variable
|
## The theme_settings Variable
|
||||||
|
|
Loading…
Reference in New Issue