{m.geschichten_index_title()}
{#if data.canBlogWrite}
{m.geschichten_new_button()}
{/if}
{m.geschichten_filter_all_pill()}
{#each data.personFilters as p (p.id)}
removePerson(p.id!)} class="inline-flex h-11 items-center gap-2 rounded-full bg-ink px-3 font-sans text-xs font-bold tracking-wider text-primary-fg uppercase" > {p.displayName}
×
{/each}
(showPersonPicker = !showPersonPicker)} class="inline-flex h-11 items-center rounded-full border border-line px-3 font-sans text-xs font-bold tracking-wider text-ink-2 uppercase hover:bg-muted" > + {m.geschichten_filter_choose_person()}
{#if showPersonPicker}
{#if selectedPersonIds.length > 1}
{m.geschichten_filter_and_hint()}
{/if}
{/if} {#if data.geschichten.length === 0}
{#if data.personFilters.length > 0} {m.geschichten_empty_for_persons({ names: data.personFilters.map((p) => p.displayName).join(' & ') })} {:else} {m.geschichten_empty_no_filter()} {/if}
{:else}
{#each data.geschichten as g (g.id)}
{/each}
{/if}