[jinja_debug] Add reference to jinja_debug
This commit is contained in:
parent
092b7d379b
commit
f4ab175038
|
@ -12,11 +12,14 @@ body:
|
|||
|
||||
The server command will launch a local server for development.
|
||||
|
||||
Lektor's developemnt server will automatically build all files into
|
||||
Lektor's development server will automatically build all files into
|
||||
pages similar to how the build command with the `--watch` switch
|
||||
works, but also at the same time serve up the website on a local
|
||||
HTTP server.
|
||||
|
||||
Exporting the `LEKTOR_DEV=1` environment variable will also enable
|
||||
[Jinja debug extension :ext](https://jinja.palletsprojects.com/en/3.0.x/extensions/#debug-extension).
|
||||
|
||||
## Options
|
||||
|
||||
- `-h, --host TEXT`: The network interface to bind to. The default is the
|
||||
|
|
|
@ -40,6 +40,10 @@ evaluated in but the following are always available:
|
|||
| `alt` | A string that identifies the [Alternative :ref](../content/alts/) of the page.
|
||||
| `config` | Gives access to the Lektor project configuration.
|
||||
|
||||
Additionally, exporting the `LEKTOR_DEV=1` environment variable when running [`lektor server` :ref](../cli/server/)
|
||||
will also enable [Jinja debug extension :ext](https://jinja.palletsprojects.com/en/3.0.x/extensions/#debug-extension)
|
||||
which may be useful in template development.
|
||||
|
||||
## The First Template
|
||||
|
||||
So let's dive in making our first template. In case you went through the
|
||||
|
|
Loading…
Reference in New Issue