{#if record} {#if record._file.mime.startsWith("image")} {record._file.path} {:else} .{record._file.path.split(".").pop()} {/if} {/if}