{#if data.error.length !== 0} {#if !data.error.includes("not found")} {/if} {:else}
{#if data.doc !== undefined}
{@html marked.parse(data.doc[$locale].content)}
{#each data.docs[$locale] as doc} {#if doc.title == data.doc[$locale].title}

{doc.title}

{doc.desc}

{:else}

{doc.title}

{doc.desc}

{/if} {/each}
{/if}
{/if}