parent
8ec5de4877
commit
f69e7779e4
@ -37,7 +37,7 @@ The basic generation mechanism makes the templates and routes interchangeable (i
|
|||||||
> The templates are stored in src/templates by default.
|
> The templates are stored in src/templates by default.
|
||||||
|
|
||||||
We provide a set of default templates that we use for the ["Lauf für Kaya!" charity run](https://lauf-fuer-kaya.de).
|
We provide a set of default templates that we use for the ["Lauf für Kaya!" charity run](https://lauf-fuer-kaya.de).
|
||||||
We use handlebars for templateing utilizing i18next for translation.
|
We use handlebars for templateing utilizing i18next for translation - the i18n string format in the templates is : `{{__ "string"}}`
|
||||||
You can provide your own templates by replacing the ones we provided before compiling the project or by simply mounting your custom templates into the docker container.
|
You can provide your own templates by replacing the ones we provided before compiling the project or by simply mounting your custom templates into the docker container.
|
||||||
|
|
||||||
The server currently needs the following templates to work:
|
The server currently needs the following templates to work:
|
||||||
@ -47,7 +47,8 @@ The server currently needs the following templates to work:
|
|||||||
|
|
||||||
| Template Data | Type | Optional | Description
|
| Template Data | Type | Optional | Description
|
||||||
| - | - | - | -
|
| - | - | - | -
|
||||||
| runner | object(Runner) | ❌ | The runner object.
|
| runners | array(Runner) | ❌ | The runner objects. We generate a contract for each runner on a new DIN-A5 page.
|
||||||
|
|
||||||
|
|
||||||
## Recommended Editor
|
## Recommended Editor
|
||||||
|
|
||||||
@ -56,6 +57,7 @@ The server currently needs the following templates to work:
|
|||||||
### Recommended Extensions
|
### Recommended Extensions
|
||||||
|
|
||||||
* will be automatically recommended via ./vscode/extensions.json
|
* will be automatically recommended via ./vscode/extensions.json
|
||||||
|
* we also provide a config for i18n-ally in the .vscode folder
|
||||||
|
|
||||||
## Staging
|
## Staging
|
||||||
### Branches & Tags
|
### Branches & Tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user