From 76c0b964ebcbd8b35f158b3af40f1e4a6ce34cca Mon Sep 17 00:00:00 2001 From: Christian Koch Date: Fri, 18 Oct 2024 21:43:48 +0200 Subject: [PATCH] chore(docs): update _storage-template.md (#13578) Update _storage-template.md The example for the {{if}} was a little bit confusing. Just a recommendation --- docs/docs/partials/_storage-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/partials/_storage-template.md b/docs/docs/partials/_storage-template.md index b6dcd5ad77..0c668d0a3e 100644 --- a/docs/docs/partials/_storage-template.md +++ b/docs/docs/partials/_storage-template.md @@ -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}} ```