mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
chore(docs): update _storage-template.md (#13578)
Update _storage-template.md The example for the {{if}} was a little bit confusing. Just a recommendation
This commit is contained in:
parent
e1e3ae811d
commit
76c0b964eb
1 changed files with 1 additions and 1 deletions
|
@ -31,5 +31,5 @@ Immich also provides a mechanism to migrate between templates so that if the tem
|
|||
If you want to store assets in album folders, but you also have assets that do not belong to any album, you can use `{{#if album}}`, `{{else}}` and `{{/if}}` to create a conditional statement. For example, the following template will store assets in album folders if they belong to an album, and in a folder named "Other/Month" if they do not belong to an album:
|
||||
|
||||
```
|
||||
{{y}}/{{#if album}}{{album}}{{else}}Other/{{MM}}{{/if}}/{{filename}}
|
||||
{{y}}/{{#if album}}{{album}}{{else}}Other{{/if}}/{{MM}}/{{filename}}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue