chore(docs): update _storage-template.md (#13578)
Update _storage-template.md
The example for the {{if}} was a little bit confusing. Just a recommendation
pull/12089/head
parent
e1e3ae811d
commit
76c0b964eb
|
|
@ -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 New Issue