This commit is contained in:
parent
39606a0fe0
commit
4ab735d17d
1 changed files with 17 additions and 1 deletions
|
@ -105,7 +105,23 @@ fullname = "Fullname"
|
||||||
|
|
||||||
## Link shortener for contacts
|
## Link shortener for contacts
|
||||||
|
|
||||||
<!-- TODO -->
|
This file is stored at `/app/data/contacts/links.toml`
|
||||||
|
|
||||||
|
```toml
|
||||||
|
"a" = "redirectiona.fr"
|
||||||
|
"a/e" = "redirectiona.fr/something"
|
||||||
|
"a/b" = "redirectiona.fr/amazing"
|
||||||
|
"b" = "other_site.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
This is designed by a tuple (service \* optional-scope),
|
||||||
|
separated by `/` -> `service/optional_scope`
|
||||||
|
|
||||||
|
- links will be available at `/contact/service/scope` and `/c/service/scope`
|
||||||
|
- the scope is optional
|
||||||
|
- you can't stack up scope, only one scope is allowed
|
||||||
|
|
||||||
|
> This is _by design_ to keep things easy
|
||||||
|
|
||||||
# Add content
|
# Add content
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue