mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
docs: Fix tables
This commit is contained in:
parent
05b1303d80
commit
c6872f85c3
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ register_module([
|
||||||
|
|
||||||
Currently, the following parts are used in the templating process:
|
Currently, the following parts are used in the templating process:
|
||||||
TODO: Check that this is up-to-date
|
TODO: Check that this is up-to-date
|
||||||
|
|
||||||
Key | Purpose
|
Key | Purpose
|
||||||
----------------------------|------------------
|
----------------------------|------------------
|
||||||
`{body}` | Holds the main body of the page.
|
`{body}` | Holds the main body of the page.
|
||||||
|
@ -87,6 +88,7 @@ register_module([
|
||||||
### Global Variables
|
### Global Variables
|
||||||
There are a number of global variables floating around that can give you a lot of information about the current request. ~~I will be tidying them up into a single `$env` object soon.~~ Most of the below have been tidied up into a single `$env` object now! Below is a table of all the variables Pepperminty Wiki has lying around:
|
There are a number of global variables floating around that can give you a lot of information about the current request. ~~I will be tidying them up into a single `$env` object soon.~~ Most of the below have been tidied up into a single `$env` object now! Below is a table of all the variables Pepperminty Wiki has lying around:
|
||||||
TODO: Update this table
|
TODO: Update this table
|
||||||
|
|
||||||
Variable | Description
|
Variable | Description
|
||||||
------------------------|------------------------------------------
|
------------------------|------------------------------------------
|
||||||
`$env` | An object that contains a _bunch_ of useful information about the current request.
|
`$env` | An object that contains a _bunch_ of useful information about the current request.
|
||||||
|
|
Loading…
Reference in a new issue