{#key data} {/key}

Posts: {#if params.perfil === $sesionStore?.username} {:else if $posts.length === 0} {/if}


{#if cargando && $posts.length === 0} {:else if mensajeError} {:else if $posts.length === 0} {:else}
{#each $posts as post (post.id)}
{/each}
{/if}
{#if cargando && $posts.length > 0}
{/if}
{#if postAModificar}
{/if} (showCrearPost = false)}> Crear publicación {#if $sesionStore?.isAdmin || $sesionStore?.username === params.perfil}
{/if}