website/src/routes/blog/authors/+page.svelte

14 lines
310 B
Svelte
Raw Normal View History

2022-12-27 20:58:47 +05:30
<script lang="ts">
import type { PageData } from "./$types";
export let data: PageData;
2023-01-01 13:52:26 +05:30
import { SingleWordLists } from "$lib/BlogCard";
2022-12-27 20:58:47 +05:30
</script>
2023-01-25 22:41:11 +05:30
<h1>{data.title}</h1>
2023-01-01 13:52:26 +05:30
2023-01-25 22:41:11 +05:30
{#if !data.authors.error}
<SingleWordLists items={data.authors.authors} name="authors" />
{:else}
<p>{data.authors.message}</p>
{/if}