mail-templates/frontend/docs/Repository.md

20 lines
453 B
Markdown
Raw Permalink Normal View History

2024-11-11 18:05:00 +00:00
# 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"`.