mail-templates/frontend/docs/Repository.md
2024-11-11 19:05:00 +01:00

20 lines
No EOL
453 B
Markdown

# Repository
A repository is a URL that serves a text file over HTTP. This file has the following structure:
```
TITLE: <Template title>
Hi, {{Contact Person}}! I hope you are doing well.
{{NOTE: Check something before sending}}
(...)
---
TITLE: <Template title>
(...)
```
You can set repositories using the `VITE_TEMPLATE_REPOSITORIES` environment variable at build.
Example: `VITE_TEMPLATE_REPOSITORIES="some.tld/repo1.txt,some.tld/repo2.txt"`.