pull/204/head
robinmoisson 2024-09-27 17:00:02 +02:00
rodzic 70c11b4036
commit 85092f745b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 05C05FC1814FBF27
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -230,7 +230,7 @@ On the technical aspects: we use AES in CBC mode (see a discussion on why this m
Yes! Just copy `lib/password_template.html`, modify it to suit your style and point to your template file with the `-t path/to/my/file.html` flag.
Be careful to not break the encrypting javascript part, the variables replaced by StatiCrypt are in this format: `/*[|variable|]*/0`. Don't leave out the `0` at the end, this weird syntax is to avoid conflict with other templating engines while still being read as valid JS to parsers so we can use auto-formatting on the template files.
Be careful to not break the encrypting javascript part, the variables replaced by StatiCrypt are in this format: `/*[|variable|]*/0`. Don't leave out the `0` at the end, this weird syntax is to avoid conflict with other templating engines while still being read as valid JS to parsers so we can use auto-formatting on the template files. Prettier will add a space before the `0` if the variable is in a JS section - this isn't very pretty but it won't break the templating engine so don't worry about it (if you want to add a prettier plugin that will avoid this behavior, feel free to open a PR!).
### Can I support multiple users with different passwords?