mirror of
https://github.com/lektor/lektor-website.git
synced 2025-02-22 07:00:38 +01:00
[master] Changing example theme creation command and fixing typo.
This commit is contained in:
parent
a917d6f3a9
commit
99ba66201b
11
content/docs/themes/creating/contents.lr
vendored
11
content/docs/themes/creating/contents.lr
vendored
@ -11,16 +11,9 @@ body:
|
||||
You could create a basic empty theme with the following command:
|
||||
|
||||
```bash
|
||||
$ lektor new theme <theme-name>
|
||||
$ lektor dev new-theme
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
$ lektor new theme demo-theme
|
||||
```
|
||||
|
||||
|
||||
## Theme Components:
|
||||
|
||||
A theme could provide templates, assets, and models (also flowblocks):
|
||||
@ -30,7 +23,7 @@ demo-theme
|
||||
├── assets
|
||||
├── models
|
||||
├── templates
|
||||
└── flowdocks
|
||||
└── flowblocks
|
||||
```
|
||||
|
||||
## The theme_settings Variable
|
||||
|
Loading…
Reference in New Issue
Block a user